Skip to main content

TdxServerModeDataController.DataSource Property

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

Declaration

property DataSource: TdxServerModeCustomDataSource read; write;

Property Value

Type
TdxServerModeCustomDataSource

Remarks

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

Note

To improve performance when accessing data via a FireDAC connection object (TFDConnection or TADConnection) linked to the specified DataSource component, we recommend that you disable the Live Data Window (LDW) mode. To accomplish this, set the FireDAC connection 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