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

TdxServerModeCustomDataSource.BeginUpdate Method

In This Article

Postpones sending notifications about data source changes until the matching EndUpdate method is called.

#Declaration

Delphi
procedure BeginUpdate;

#Remarks

To improve performance and prevent the linked data-aware control’s data controller from refreshing its contents during updates to the data source’s connection or target source settings, enclose the code performing the updates within BeginUpdate/EndUpdate blocks. To cancel the last BeginUpdate method call and enable further updates, call CancelUpdate.

Ensure that every call to BeginUpdate has a corresponding call to the EndUpdate method (or to CancelUpdate).

Note

The data controller does not receive update notifications unless all EndUpdate methods are executed.

See Also