Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.GetParentRow Method

Returns the node row that is the direct parent of a row.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
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.