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

TcxPivotGridViewDataSelection.BeginUpdate Method

In This Article

Prevents a pivot grid from being updated during bulk selection changes until the EndUpdate method is called.

#Declaration

Delphi
procedure BeginUpdate;

#Remarks

Each time you modify the Regions collection, the pivot grid is updated to reflect these changes. If you need to perform a bulk update, flickering and performance issues may occur. To prevent these, you can wrap the code that makes changes to the selection in calls to the BeginUpdate/EndUpdate methods.

The BeginUpdate method postpones updates. To apply the changes made to the selection, you should call the EndUpdate method.

Ensure that every call to BeginUpdate has a corresponding call to the EndUpdate method, even if an exception occurs.

See Also