Skip to main content

TcxCustomGridTableItemOptions.SortByDisplayText Property

Specifies whether the column/row is sorted by its values or display texts.

Declaration

property SortByDisplayText: TcxGridItemSortByDisplayText read; write; default isbtDefault;

Property Value

Type Default
TcxGridItemSortByDisplayText isbtDefault

Remarks

Options include:

Value Description
isbtDefault The column/row is sorted by the display texts of its cells when the dcoSortByDisplayText option is included into the View’s DataController.Options property or custom text is provided for the cells within a column or Card View row by handling the OnGetDataText event. Otherwise, the column is sorted by the values of its cells.
isbtOn The column/row is sorted by the display texts of its cells. Handle the OnGetDataText event to provide custom display text for the cells within a column or Card View row.
isbtOff The column/row is sorted by the values of its cells. Any display text provided by the OnGetDataText event does not affect sorting.

The default value of the SortByDisplayText property is isbtDefault.

See Also