A newer version of this page is available. Switch to the current version.

GridColumnSortInfoCollection.EndUpdate() Method

Unlocks the GridColumnSortInfoCollection object after a call to the BeginUpdate method and causes an immediate visual update.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v19.2.dll


public void EndUpdate()


The GridColumnSortInfoCollection collection supports batch modifications. This implies that a sequence of operations that affect the collection can be performed, but with only one update to the View. To do this, enclose the code performing the collection modifications within BeginUpdate and EndUpdate method calls. This will give a performance benefit.

Calling the EndUpdate method after a GridColumnSortInfoCollection.BeginUpdate call immediately updates the View.

See Also