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

TcxCustomDBNavigator.DataSource Property

Binds the data-aware navigator to a data source (and dataset).

#Declaration

Delphi
property DataSource: TDataSource read; write;

#Property Value

Type
TDataSource

#Remarks

The data-aware navigator provides a two-way communication between the data-aware control and the dataset – every navigator action affects the dataset and the dataset state is reflected by the control. For instance, if the dataset cursor is programmatically moved to the first record – the First button is disabled, etc.

An example from the EditorsMaskDemo shipped with the ExpressEditors Library.

DBNavigator1.DataSource := EditorsMaskDemoMainDM.DataSourceUSERS;
See Also