Edit this page

Grid Grouping

By default, the grouping functionality of the Kendo UI Grid for ASP.NET Core is disabled.

The grouping functionality of the Grid is controlled by the Groupable property:

Example
@(Html.Kendo().Grid<Kendo.Mvc.Examples.Models.CustomerViewModel>()
    .Name("grid")
    .Groupable()
    ...

Rendering groups is also possible by setting group expressions in the DataSource of the Grid, even without enabling Groupable:

Example
.Name("Grid")       
.DataSource(dataSource => dataSource
    .Ajax()
    .Group(groups => groups.Add(p => p.UnitsInStock))