Skip to main content
A newer version of this page is available. .

GridView.BeginSummaryUpdate() Method

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

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

public void BeginSummaryUpdate()

Remarks

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