TADMasterDataLink controlls master-detail link between two datasets.
uADCompDataSet
The TADMasterDataLink is a class controlling master-detail link between two datasets. Each AnyDAC dataset has public property MasterLink. Use it to control delayed refresh of detail dataset on master dataset scroll or update.
To turn on delayed refresh use TADDataSet.FetchOptions.DetailDelay property. Use DisableDelayedScroll / EnableDelayedScroll to temporary disable delayed refresh and use immediate refresh instead.
Use DisableScroll / EnableScroll to temporary disable refresh.
TADMasterDataLink = class(TMasterDataLink);
|
What do you think about this topic? Send feedback!
|