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

TcxDBDataController.DataSource Property

Specifies a data source which is linked to a dataset to be bound to the grid control.

#Declaration

Delphi
property DataSource: TDataSource read; write;

#Property Value

Type
TDataSource

#Remarks

Use this property to specify the data source component from which data is retrieved by the data controller in order to display within your grid control.

Note

If you are not using grid mode, you can improve performance when accessing data via a FireDAC table object TADTable or TFDTable) linked to the specified DataSource component by disabling the [Live Data Window (LDW) mode](https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Browsing_Tables_(FireDAC). To accomplish this, set the FireDAC table object’s FetchOptions.CursorKind property to ckDefault. Refer to the “Browsing Table” article at https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Browsing_Tables_(FireDAC) for details on this mode.

See Also