wpf-96461-controls-and-libraries-data-grid-getting-started-code-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:
true to show the Fixed Summary Panel.Left to display the summary on the left side of the Fixed Summary Panel.<dxg:GridControl.TotalSummary>
<dxg:GridSummaryItem FieldName="OrderId"
SummaryType="Count"
Alignment="Left"/>
</dxg:GridControl.TotalSummary>
<dxg:GridControl.View>
<dxg:TableView ShowFixedTotalSummary="True" ... />
</dxg:GridControl.View>
<dxg:GridControl.GroupSummary>
<dxg:GridSummaryItem FieldName="Freight" SummaryType="Sum"
DisplayFormat="Sum of Freight is {0:c}"/>
</dxg:GridControl.GroupSummary>
Refer to the following help topic for information on how users can create and customize summaries: Edit Summaries.
See Also