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

TcxCustomGridTableItemOptions.Sorting Property

Specifies whether end-users can sort View data against the item.

#Declaration

Delphi
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.

See Also