Skip to main content

TcxGridItemDataBinding.Data Property

Allows you to store additional data within the data binding.

Declaration

property Data: TObject read; write;

Property Value

Type
TObject

Remarks

Use this property to store additional data within the TcxGridItemDataBinding class instance.

The Data property can be used to identify items when implementing a custom data source in provider mode. A custom data source cannot recognize items by reading their indexes because they do not reflect any display changes such as changing the order of items. Assign a unique value to the Data property and use it when getting/setting a value from/to a custom data source. Refer to the Provider Mode topic for an example.

See Also