Skip to main content

TcxCustomGridTableItem.SortOrder Property

Defines the sort order for the item.

Declaration

property SortOrder: TcxGridSortOrder read; write;

Property Value

Type
TcxGridSortOrder

Remarks

You can define the sort order for the item by assigning the SortOrder member to one of the TcxGridSortOrder values. You can sort in ascending, descending order or clear the sorting by the item.

A grid control enables you to sort data by multiple columns. Sorting is performed in the same sequence as when the SortOrder member is assigned to items. You can clear the current sorting by the DataController.ClearSorting method.

The default value of the SortOrder property is soNone.

See Also