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

In This Article

Releases a lock acquired by the BeginUpdate method.

#Declaration

Delphi
procedure EndUpdate;

#Remarks

This method is used in combination with the BeginUpdate method that prevents the pivot grid from being updated or repainted until the EndUpdate method is called. 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