wpf-9646-controls-and-libraries-data-grid-getting-started-designer-lesson-5-display-summaries.md
This tutorial demonstrates how to display summaries for groups of rows (group summary) or individual data columns (total summary). The tutorial is based on Lesson 4.
The GridControl can calculate the following summaries:
Select the GridControl and invoke its Quick Actions menu.
Click the Show Feature Browser button:
In the Feature Browser window, go to Data Shaping → Total Summaries.
Click the GridControl and ensure that the DataViewBase.ShowFixedTotalSummary property is set to true. This property displays the Fixed Summary Panel.
Click the Add button to create a GridSummaryItem object and assign it to the GridControl.TotalSummary collection.
Specify the FieldName and SummaryType properties to apply the summary.
Set the Alignment property to Left to display the summary on the left side of the Fixed Summary Panel.
Refer to the following help topic for information on how users can create and customize summaries: Edit Summaries.
See Also