Dislocation of the patella occurs when the knee cap gets pulled from its actual position, out of the grove on the end of the thigh bone. The treatment depends on understanding why the kneecap dislocation occurred. Some people may have bone alignment or anatomy issue. Some people may have torn ligaments.