TdxSpreadSheetSortAscending Class
An action object that corresponds to the SortAscending command provided by the Spreadsheet and Report Designer controls.
Declaration
TdxSpreadSheetSortAscending = class(
TdxSpreadSheetCustomSortAction
)
Remarks
The TdxSpreadSheetSortAscending
class does not introduce any new public members. Executing this action object performs cell data sorting within the current selection area against multiple columns in ascending order. To perform a similar sorting operation in descending order, use a TdxSpreadSheetSortDescending action object.
UI elements linked to a TdxSpreadSheetSortAscending
action object are enabled only if the following conditions are met:
- Spreadsheet document editing is allowed (i.e., the control’s OptionsBehavior.Editing property is set to
True
). - The in-place cell editor is inactive (i.e., the active worksheet‘s IsEditing property returns
False
). - Cell sorting operations are allowed in the active worksheet (i.e., its CanSort function returns
True
). - The active worksheet is not protected (i.e., its OptionsProtection.Protected and/or Options.Protected properties are set to False) or there are no locked cells within the current selection area.
Inheritance
See Also