TdxSpreadSheetReportSortedField.SortOrder Property
In This Article
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 |
---|---|
Tdx |
so |
#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) |
---|---|---|
so |
The sorted field is not involved in dataset record sorting operations. | ![]() |
so |
By default, the dataset records are sorted in ascending order of the field values. | ![]() |
so |
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.
The SortOrder property’s default value is soAscending.
See Also