Table of Contents

TTMSFNCDataGrid.AddNodeRow Method

Converts a data row into a collapsible tree node row with the specified number of child rows at the given nesting level.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Syntax

procedure AddNodeRow(ARow: Integer; AChildCount: Integer; ALevel: Integer = 0; AMerge: Boolean = True);

Parameters

Name Description
ARow Zero-based row index to convert.
AChildCount Number of child rows beneath this node.
ALevel Nesting level of the node (0 for root nodes).
AMerge When True, merges the node row cells across all columns.