TcxCustomPivotGrid.EndUpdate Method
Releases a lock acquired by the BeginUpdate method.
Declaration
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