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

TcxCustomPivotGrid.BeginUpdate Method

In This Article

Acquires a lock on the pivot grid when performing bulk updates.

#Declaration

Delphi
procedure BeginUpdate;

#Remarks

Use this method in combination with the EndUpdate method (that releases the lock) to wrap update statements that affect or repaint the pivot grid. Call these methods within try… finally blocks to ensure that the lock on the pivot grid’s repaint updates is removed in all cases.

For a pivot grid locked for updates with the BeginUpdate method call, you can optionally display a “Locked View“ image informing end-users that the pivot grid is awaiting updates. To accomplish this, set the pivot grid’s OptionsLockedStateImage.Mode property to a value other than lsimNever. Once the pivot grid is unlocked with the EndUpdate method call, it automatically hides the “Locked View” image.

See Also