Skip to main content

TdxSpreadSheetReportSortedField.SortOrder Property

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

Declaration

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