Table of Contents

TTMSFNCDataGrid.SetNodeRow Method

Replaces an existing row with a collapsible tree node row; same behaviour as AddNodeRow but works on an existing row.

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

Syntax

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

Parameters

Name Description
ARow Zero-based row index to replace.
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.