# Aggregates

The Grid enables you to display aggregated number results when the user groups its data.

To enable grouping by using aggregate functions, use the `aggregates`, `groupFooterTemplate`, `groupHeaderColumnTemplate`, or `footerTemplate` settings of the Grid and the `group` and `aggregate` fields of its data source. For a runnable example, refer to the [demo on using aggregate functions in the Grid](https://demos.telerik.com/kendo-ui/grid/aggregates).

## Known Limitations

The [`columns.aggregates`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/grid/configuration/columns#columnsaggregates) configuration needs to be included if the Grid has its [`groupable`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/grid/configuration/groupable) property enabled, otherwise the `groupFooterTemplate` and `groupHeaderTemplate` won't function properly.

## See Also

* [Grouping with Aggregates by the Grid (Demo)](https://demos.telerik.com/kendo-ui/grid/aggregates)
* [JavaScript API Reference of the Grid](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/grid)
* [Group Templates](https://docs.telerik.com/aspnet-mvc/helpers/grid/templating/client-detail-template)
