New to Telerik UI for ASP.NET Core? Download free 30-day trial


To request grouped data on initial load, configure the groups in the GroupDescriptorFactory. the ToDataSourceResult() extension method will return only the grouped data in the response object.

  • The Group method sets the initial groups.
        .Ajax(datasource => datasource
            .Read(read => read.Action("Products_Read", "Home"))
            .Group(groups =>
                groups.Add(product => product.UnitPrice);
                groups.Add(product => product.ProductName);
    <kendo-datasource name="myDataSource" type="DataSourceTagHelperType.Ajax">
            <read url="@Url.Action("Products_Read", "Home")"/>
            <group field="UnitPrice" />
            <group field="ProductName" />

See Also

In this article