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

TcxGridDBDataController Class

A data controller which manages data from a dataset.

#Declaration

#Remarks

The TcxGridDBDataController provides data from a TDataSet to a data-aware View. You can connect a View to a dataset via the DataController.DataSource property.

To create master-detail relationships between datasets, you should initialize the MasterKeyFieldNames and DetailKeyFieldNames properties of the detail data controller with the names of master and detail data set fields and their values are used to establish the relationship.

To synchronize the master and detail data controllers, you need to set their key field names via the KeyFieldNames property.

The DataModeController synchronizes the data displayed via the data controller and the corresponding dataset. It also controls the manner in which data is obtained by the detail data controller when linked to a parameterized query.

See Also