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

GridColumnSortInfoCollection.EndUpdate() Method

In This Article

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

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

public void EndUpdate()

#Remarks

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