TcxCustomGridTableItemOptions.Sorting Property
Specifies whether end-users can sort View data against the item.
Declaration
property Sorting: Boolean read; write; default True;
Property Value
Type | Default |
---|---|
Boolean | True |
Remarks
Set this property to True to allow end-users to sort View data against the column by clicking the column header (in a Table View). A second click reverses the sort order (ascending order is changed to descending and vice versa). The small arrow displayed in the column header indicates the current sort order. The up-arrow indicates the ascending sort order, the down-arrow – descending.
End-users can sort against multiple columns by holding down the Shift key and clicking their headers. Clicking a column header while holding down the Ctrl key clears this column’s sorting.
Note
The Sorting property enables sorting only if the View’s OptionsCustomize.ItemSorting property is set to True.
The default value of the Sorting property is True.