RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.DataLink Property

Helps the data-aware grid manage its link to the data source and respond to data events.

Pascal
property DataLink: TGridDataLink;
C++
__property TGridDataLink DataLink;

Applications should not need to use the DataLink property. It is exposed as a protected property so that component writers can use descendants of TGridDataLink to respond to additional data events. 

DataLink helps TCustomDBGrid to 

Resolve the field bindings specified by Columns with the fields in the dataset. 

Respond to changes in the values of fields. 

Respond to changes in record currency. 

Respond to changes in the editing state of the dataset. 

Keep track of unposted edits and discard or post them as appropriate. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!