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

Grid Grouping with Responsive Columns


Product Telerik UI for ASP.NET MVC Grid
Progress Telerik UI for ASP.NET MVC version Created with the 2023.1.425 version


When I utilize the approach suggested in the Grid Responsive Columns Demo I lose the ability to group the Grid's columns. How can I solve this?


The ability to group the Grid is lost when the responsive-column-template is in use because the original columns of the Grid are no longer displayed. To workaround this you can define a MultiSelect Component over the Grid and subscribe to its Change Еvent to group the Grid by its selected values.

  1. Bind the MultiSelect to a List of the Grid columns' names.

            .Placeholder("Group by...")
            .BindTo(new List<string>() {
            .Events(e => e.Change("onChange"))
  2. In the onChange handler create an object from the selected values of the MultiSelect and push that into an array. Then pass that array to dataSource's group method.

        function onChange(e){
            var grid = $("#grid").getKendoGrid(); 
            var groupedBy = [];
            var values = e.sender.value();
  3. Subscribe to the resize event of the Web API's Window to show the MultiSelect when the Grid's columns collapse and also ensure that columns that have been grouped are persisted in the new responsive layout.

                var grid = $("#grid").getKendoGrid(); 
                var ms = $("#group").getKendoMultiSelect();
                var groups =;

To explore the complete behavior, see the Telerik REPL example on how to enable Grid Grouping when Responsive Columns are employed.

More ASP.NET MVC Grid Resources

See Also

In this article