TTMSFNCDataGrid.GetParentRow Method
Returns the node row that is the direct parent of a row.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCDataGrid
Inherited from: TTMSFNCCustomDataGrid
Syntax
function GetParentRow(ARow: Integer): Integer;
int __fastcall GetParentRow(int ARow);
Parameters
| Name | Description |
|---|---|
ARow |
Zero-based row index of the child row. |
Returns
The nearest node row above ARow whose level is one less than the level of ARow, or -1 when there is none or the row is invalid.