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

TcxGridItemDBDataBinding Class

An object that links a data-aware item to a dataset field.

#Declaration

Delphi
TcxGridItemDBDataBinding = class(
    TcxGridItemDataBinding
)

#Remarks

Every data-aware item (a column in a Table View or a row in a Card View) is linked to a dataset with the help of a DataBinding object. When an item is created it is not connected to a dataset field. In order to do this, the FieldName property must be initialized with the name of the required TField object from a dataset. It is possible to change the FieldName later thus connecting an item to another field in a dataset.

The View’s DataController.CreateAllItems method allows you to create items for all dataset fields. This method sets the items’ FieldName property automatically. To access the data controller associated with the item, use the DataController property.

#Inheritance

See Also