TcxCustomDataController.DisplayTexts Property
Determines the text representation of the value in an item at a specific record.
Declaration
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.