GridView.UpdateGroupSummary() Method
Updates group summaries.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
#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 instance, when calculating summary values manually using the GridView.CustomSummaryCalculate 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.
Note
Detail pattern Views do not contain data and they are never displayed within Xtra
- Grid
Control. - returns the top most View in a grid;Main View - Grid
Control. - returns the focused View;Focused View - Grid
Control. - returns the currently maximized View;Default View - the sender parameter of View specific events;
- Grid
View. - returns a detail clone View for a specific master row.Get Detail View