TdxSpreadSheetHideRows Class
An action object that implements the HideRows end-user command in Spreadsheet and Report Designer-based applications.
Declaration
TdxSpreadSheetHideRows = class(
TdxSpreadSheetCustomChangeTableItemsVisibilityAction
)
Remarks
This class does not introduce any new public members. Its overridden Execute function call hides all rows that intersect the area joining all currently selected cells and cell ranges.
To display a range of previously hidden rows, select the top and bottom adjacent rows and activate the UnhideRows command.
UI elements linked to a TdxSpreadSheetHideRows
action object are Enabled only if the following conditions are met:
- Row resize operations are allowed (that is, the active worksheet‘s OptionsProtection.ActualAllowResizeRows property returns
True
). - At least one cell is selected (the command is unavailable if a floating container is selected or the protected worksheet’s OptionsProtection.ActualAllowSelectLockedCells and OptionsProtection.ActualAllowSelectUnlockedCells properties return
False
).
Note
All rows within a collapsed group are considered hidden.
Inheritance
See Also