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

TcxCustomGridRecord.DisplayTexts Property

Provides indexed access to display of a field’s value.

#Declaration

Delphi
property DisplayTexts[Index: Integer]: string read; write;

#Property Value

Type Description
string

A field value’s display text.

#Remarks

Use the DisplayTexts property to retrieve or set display text for the value stored in the field addressed by the Index parameter. The Index parameter identifies the position of the corresponding item within the View’s Items collection. You can obtain the item’s index by using the CustomGridTableItem.Index property.

Values and their display text strings are retrieved from the data controller. The number of field values is determined by the ValueCount property. To retrieve or set actual values instead of text, see the Values property.

Note

Although you are able to set the text version of a specific item’s value, use this ability for unbound Views only. In order to set the texts to display for data-aware Views, use the appropriate methods of the underlying data set instead.

See Also