TdxSpreadSheetTableItemGroup Class
An individual table item group created within the tree-like hierarchy.
Declaration
TdxSpreadSheetTableItemGroup = class(
TObject
)
Remarks
This class implements individual groups of columns or rows within the Table View worksheet’s table item groups hierarchy. Each group has its own set of user interface elements including the outline bracket and expand button within one of the two Table View’s grouping areas:
A collapsed group is hidden except for its expand button.
The TdxSpreadSheetTableItemGroup class extends its ancestor with members that allow you to:
Optimize the performance of a spreadsheet-based application in the case of multiple operations on the hierarchy of the column or row groups (BeginUpdate and EndUpdate);
Identify the nesting level of the current table item group (Level);
Identify the zero-based index of the group within its parent node (Index);
Identify the parent node of the current table item group (Parent);
Identify the owner (i.e., the column collection or rows in a Table View) of the current table item group and its parent node (Owner);
Access individual child groups nested within the current table item group (Items);
Expand or collapse the current table item group (Expanded property and ToggleExpanded);
Delete all child table item groups nested within the current group (DeleteAll);
Obtain the first child table item group with the specified index (Find);
Resize the current table item group (StartIndex and FinishIndex).
A TdxSpreadSheetTableItemGroup object is referenced by:
The Items property implemented in the TdxSpreadSheetTableItemGroups class;
The Items and Parent properties implemented in the TdxSpreadSheetTableItemGroup class.
Additionally, the group’s own Find function and the group collection‘s Find function return an instance of the TdxSpreadSheetTableItemGroup class.
For additional information, refer to the Cell Data Grouping topic.