TTMSFNCDataGrid.CollapseNode Method
Collapses a node row by hiding its child rows.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCDataGrid
Inherited from: TTMSFNCCustomDataGrid
Syntax
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. |