parentRow(forRow:)
Returns the index of the parent of a given row.
Declaration
func parentRow(forRow rowIndex: Int) -> IntParameters
- rowIndex:
The index of a row in the receiver.
Return Value
The index of the parent of the row at rowIndex. If the row at rowIndex is a root row, returns -1.