Table of Contents

TTMSFNCDataGridData.GetParentRow Method

Returns the row index of the immediate parent node, or -1 if ARow is a top-level row.

API unit family: TMSFNCDataGridData Declaring type: TTMSFNCDataGridData

Syntax

function GetParentRow(ARow: Integer): Integer;

Parameters

Name Description
ARow Zero-based row index used by the operation.

Returns

The resulting zero-based index or count.