TcxCustomGridRecord.DisplayTexts Property
Provides indexed access to display of a field’s value.
Declaration
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.