All Components


    Grid / Aggregates


    In some situations when displaying numbers in the grid, users would like to be able to see the results from aggregate calculations at the bottom of the grid groups or columns.

    This is a easy with the MVC grid since it offers built-in support for the most popular aggregate functions: Average, Count, Sum, Min, Max and Count. All you need to do is define the aggregates via the Columns-> ClientFooterTemplate and ClientGroupFooterTemplate templates, and the Group and Aggregate fields of its DataSource instance.

    ASP.NET MVC source

    Also available for:

    • aggregates.cshtml
    • AggregatesController.cs
    • ProductService.cs

    Support & learning resources

    Grid for other technologies