The Grid enables you to display aggregated number results when the user groups its data.
To enable grouping by using aggregate functions, use the
footerTemplate settings of the Grid and the
aggregate fields of its data source. For a runnable example, refer to the demo on using aggregate functions in the Grid.
columns.aggregates configuration needs to be included if the Grid has its
groupable property enabled, otherwise the
groupHeaderTemplate won't function properly.