Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.CollapseNode Method

Collapses a node row by hiding its child rows.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
procedure CollapseNode(ARow: Integer);
void __fastcall CollapseNode(int ARow);

Remarks

Sets RowNodeState to collapsed, hides the rows covered by RowNodeChildCount and fires OnRowCollapse. When the row is not a node row nothing happens except a log message.

Parameters

Name Description
ARow Zero-based index of the node row to collapse.