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

TcxCustomDataController.DisplayTexts Property

Determines the text representation of the value in an item at a specific record.

#Declaration

Delphi
property DisplayTexts[RecordIndex: Integer; ItemIndex: Integer]: string read; write;

#Property Value

Type
string

#Remarks

The DisplayTexts property allows you to access the text representation of the value at a specific record and item. The RecordIndex parameter identifies the record index in a data source. The total number of records is defined by the RecordCount property. The ItemIndex parameter addresses an item in the record and specifies the current value of the TcxCustomGridTableItem.Index property. When working in a Grid View, the ItemIndex parameter defines the TcxGridColumn object position within the collection of owner columns. When working in a Card View, the ItemIndex parameter defines the card row position of the TcxGridCardViewRow class.

To return actual values instead of their text representation, use the Values property. This property allows you to set values for cells using the unbound and provider modes. In bound mode, you need to use the methods provided by TDataSet descendants.

See Also