Skip to main content

TcxCustomDataController.Values Property

Determines the value of a specific record and item.

Declaration

property Values[RecordIndex: Integer; ItemIndex: Integer]: Variant read; write;

Property Value

Type
Variant

Remarks

The Values property allows you to access the value of 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 for which to get/set a value. The ItemIndex parameter specifies the value of the TcxCustomGridTableItem.Index property. When working in a Table 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.

You can change cell values using the Values property only in provider and unbound modes. To modify records in bound mode, you should use the functionality provided by your dataset instead.

To return a text representation of a value, use the DisplayTexts property instead.

See Also