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.SortByDisplayText Property

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

#Declaration

Delphi
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