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.CancelUpdate Method

In This Article

Enables sending notifications about data source changes after the BeginUpdate method was called.

#Declaration

Delphi
procedure CancelUpdate;

#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. If no changes are made, you can call the CancelUpdate method to enable further updates. Unlike EndUpdate, the CancelUpdate method does not send notifications to the data controller – it simply cancels the last BeginUpdate method call.

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

See Also