Returns the index of the parent of a given row.
SDK
- macOS 10.5+
Framework
- App
Kit
Declaration
Parameters
rowIndex
The index of a row in the receiver.
Important
Raises an
NSRange
ifException row
is less thanIndex 0
or greater than or equal to the number of rows.
Return Value
The index of the parent of the row at row
. If the row at row
is a root row, returns -1
.