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

GridControl.UpdateGroupSummary() Method

In This Article

Updates group summaries.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public void UpdateGroupSummary()

#Remarks

Group summary values are automatically updated when changing cell values. There may be cases, however, when summary values do not only depend on the data displayed by the View. This may occur, for example, when calculating summary values manually using the GridControl.CustomSummary event. In this case, you need to update group summaries manually when changing external data that affects summary values. Call the UpdateGroupSummary method for this purpose.

The UpdateGroupSummary method iterates through all groups within the current View and recalculates summary values for each group. Note that when a View contains a large number of records, calling the UpdateGroupSummary method may cause a significant performance impact.

See Also