This sample will give you a step-by-step tutorial on how to create summaries for a table and for each group that is created in a table.
Steps to create a summary through a designer
To add a summary row, select TableDescriptor -> SummaryRows in the Properties window. This will open the GridSummaryRowDescriptor collection editor, as shown in the image below.
Click Add, to add a new summary row to the collection. Click the SummaryColumns property to open up the GridSummaryColumnDescriptor editor. The editor will let you add summary columns that define the summary elements that you want to see.
Click Add to add a summary column. Add a summary item that totals the wins in a group. To do this, name it Wins, give it a summary type of Int32Aggregate, set its data member to wins, and format it to {Sum}.
Add one more column, Losses, to compute summary statistics for the losses column.
Close the two collection editor windows to see how the addition of the summary row has affected the look of the grid.