Skip to main content

TdxSpreadSheetGroupColumns Class

An action object that implements the GroupColumns end-user command in Spreadsheet and Report Designer-based applications.

Declaration

TdxSpreadSheetGroupColumns = class(
    TdxSpreadSheetAction
)

Remarks

This class does not introduce any new public members. Its overridden Execute function call groups all columns that bound the cell selection area.

VCL SpreadSheet: A Group Columns Operation Example

Consequent Execute calls for the same target columns create new groups and increase the original group’s nesting level, up to the maximum of 7.

UI elements linked to a TdxSpreadSheetGroupColumns action object are enabled only if the following conditions are met:

Note

To exclude columns from a group at the highest current nesting level, use the UngroupColumns command.

See Also