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

TcxDBTreeListDataController Class

An object that manages the TcxDBTreeList control’s access to a dataset.

#Declaration

Delphi
TcxDBTreeListDataController = class(
    TcxDataTreeListDataController
)

#Remarks

The TcxDBTreeList control binds to a data source via the DataController property. This property represents the TcxDBTreeListDataController object that manages the connection to a dataset.

The dataset providing data for cxDBTreeList is specified via the DataController.DataSource property. This dataset should meet certain requirements. Besides the key field, whose values uniquely identify dataset records, it must contain an additional field, whose values specify the parent node (record) key field for the current node (record). The data source key field is identified via the DataController.KeyField property. The name of the data source containing the parent node’s key field values is specified via the DataController.ParentField property.

To learn more on the hierarchical structure that must meet the tree list requirement, refer to the Self-Referenced Dataset help topic.

A data-aware TreeList control’s DataController property references a TcxDBTreeListDataController object.

See Also