Back to Devexpress

TcxDBDataModeController.SyncMode Property

vcl-cxdbdata-dot-tcxdbdatamodecontroller.md

latest1.3 KB
Original Source

TcxDBDataModeController.SyncMode Property

Specifies whether synchronization between the grid control and the corresponding TDataSet is enabled.

Declaration

delphi
property SyncMode: Boolean read; write; default True;

Property Value

TypeDefault
BooleanTrue

Remarks

If SyncMode is set to True , the current record in a grid control is always synchronized with the current record in the corresponding TDataSet. Whenever you move focus to another record in the grid control, the current TDataSet record also changes to point to the same data, and vice versa. When the current TDataSet record changes, focus also moves to the corresponding record in the grid control.

The default value of the SyncMode property is True.

See Also

TcxDBDataModeController Class

TcxDBDataModeController Members

cxDBData Unit