vcl-cxcustompivotgrid-dot-tcxpivotgridfieldoptions.md
Specifies if end-users can change the field‘s sort order.
property Sorting: Boolean read; write; default True;
| Type | Default |
|---|---|
| Boolean | True |
A field can be sorted in either ascending or descending order. The currently applied sort order is indicated by the sort glyph (a triangle icon) displayed within the field header. End-users can change the sort order by clicking the field header. With the Sorting property, you can specify if this operation is available to end-users. Set this property to False to hide the sort glyph and prohibit end-users from changing the sort order of the field. To control the sort availability for all pivot grid fields, use the pivot grid’s OptionsCustomize.Sorting property. If these properties have opposite values, the False value has priority.
Refer to the Sorting Data topic to learn more.
The default value of the Sorting property is True.
See Also
TcxPivotGridOLAPField.SortMode
TcxPivotGridOptionsCustomize.Sorting
TcxPivotGridOptionsData.AnsiSort
TcxPivotGridFieldOptions Class