WPF Data Grid

Totals and Summaries

 

Our WPF DataGrid Control allows you to quickly analyze your data by displaying aggregate function values calculated against the entire dataset or data groups. When using data grouping, you can also sort your data based on summary values, thus accessing the most important information more easily.

The following section describes end-user capabilities for totals customization. The same features are obviously also available via the grid's API.

Totals

Totals are displayed within the summary footer - under corresponding columns. Our WPF Grid supports five built-in function types and you can display multiple function values per column.

WPF Grid Control - Totals

End-users can show or hide totals by right-clicking the required footer cell and selecting Customize from the context menu. This invokes the totals editor dialog shown in the following image.

WPF DataGrid - Totals Editor

Group Summaries

Group summaries support the same function set - count, sum, average, minimum and maximum. You can also invoke a similar summary editor dialog to specify which aggregate functions should be calculated. Simply right-click a grouping column's header and choose Group Summary Editor from the context menu.

WPF Grid Control - Group Summaries

Sort by Group Summaries

When group summaries are displayed, the grouping column's context menu allows end-users to sort group rows by summary values. This allows you to easily access groups containing the most important information (the region with biggest or smallest sales volume, the month with highest or lowest average order amount, etc).

WPF DataGrid Control - Sort By Summary Menu

Align Group Summaries By Columns

Data group summaries can be displayed under corresponding grid columns.

Align Group Summaries By Columns - DXGrid for WPF by DevExpress

Custom Aggregate Functions

You can provide any logic to calculate summary values via event handlers.

More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.