This example demonstrates how to create group footers in the grid and show summaries there. For this, you will need to create a TableView descendant and use custom templates for ordinary and group rows. Please note that the demonstrated approach has certain limitations:
1) It works only for one-level grouping;
2) The row indicator for a row that contains a group footer will be drawn both for the row and for the footer;
3) The group footer will replicate summaries that can be shown in the group row;
4) It is necessary to create a group footer template for each theme used in the application.
Question Comments
Added By: John Stewart 007 at: 10/27/2015 8:56:02 AM
Example code throws InvalidOperationException on click of expland (+ button).
Here is the details error message
CellItemsControl (that is typically used in DefaultDataRowTemplate) is not supported in the grid's optimized mode. To learn more about the grid's optimized mode, see http://go.devexpress.com/xpf-optimized-mode.aspx