Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetReportSortedField.SortOrder Property

Specifies the sort order applied to a field obtained from a bound dataset.

#Declaration

Delphi
property SortOrder: TdxSortOrder read; write; default soAscending;

#Property Value

Type Default
TdxSortOrder soAscending

#Remarks

You can use this property to change the sort order applied to the field against which the data sorting operation is performed.

Options include:

Value Description Example (“Unit Price” is the Sorted Field)
soNone The sorted field is not involved in dataset record sorting operations.
soAscending By default, the dataset records are sorted in ascending order of the field values.
soDescending The dataset records are sorted in descending order of the field values.

Note

To modify the field value interpretation for sort operations, use the Options.AnsiSort and Options.CaseInsensitive properties provided by the respective master or detail dataset link.

The SortOrder property’s default value is soAscending.

See Also