TdxSpreadSheetTableItemGroups.ExpandToLevel(Integer) Method
Expands or collapses all branches of the table item groups hierarchy to the specified node level.
Declaration
procedure ExpandToLevel(ALevel: Integer);
Parameters
Name | Type |
---|---|
ALevel | Integer |
Remarks
Use this procedure to quickly expand or collapse all branches of the column or row group hierarchy to the same node level, passed as the ALevel parameter. If the hierarchy is currently expanded beyond the specified node level, the ExpandToLevel procedure collapses it to the specified node level.
End-users can click the respective outline buttons to expand or collapse all branches of the column and row group hierarchies:
Note
To obtain the first table item group with the specified index within the hierarchy, use the Find function.
See Also