Back to Devexpress

How to: Create and Customize a Group Summary

aspnet-3761-components-grid-view-examples-how-to-create-and-customize-a-group-summary.md

latest615 B
Original Source

How to: Create and Customize a Group Summary

  • Dec 17, 2020

This example shows how to create and customize a group summary in code.

csharp
ASPxSummaryItem groupSummary = new ASPxSummaryItem();
groupSummary.FieldName = "Budget";
groupSummary.SummaryType = SummaryItemType.Max;
ASPxGridView1.GroupSummary.Add(groupSummary);
vb
Dim groupSummary As ASPxSummaryItem = New ASPxSummaryItem()
groupSummary.FieldName = "Budget"
groupSummary.SummaryType = SummaryItemType.Max
ASPxGridView1.GroupSummary.Add(groupSummary)