Skip to main content

TdxSpreadSheetGroupRows Class

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

Declaration

TdxSpreadSheetGroupRows = class(
    TdxSpreadSheetGroupColumns
)

Remarks

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

VCL SpreadSheet: A Group Rows Operation Example

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

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

Note

To exclude rows from a group at the highest current nesting level, use the UngroupRows command.

See Also