Skip to main content

TcxCustomDBNavigator.DataSource Property

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

Declaration

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