Skip to main content

GridView.BeginSummaryUpdate() Method

Prevents summaries from being calculated until the GridView.EndSummaryUpdate method is called.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

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


public void BeginSummaryUpdate()


Whenever summary items are added to a Grid View or their settings are modified, the grid automatically recalculates summaries. To prevent summary calculation until all summary items are properly initialized, use the BeginSummaryUpdate and GridView.EndSummaryUpdate methods. Enclose you code with these methods. The BeginSummaryUpdate method locks summary calculation; the GridView.EndSummaryUpdate method unlocks summary calculation and forces the grid to recalculate the current summaries.

See Also