3 Answers, 1 is accepted
0
Accepted
Hello, Daochuen,
The Kendo UI Grid sorts the items within the groups when it is grouped, the groups themselves are already sorted.
You can test the functionality in our online demos which are also available in the distributions as a runnable solution here:
~telerik.ui.for.aspnetmvc.<VERSION>.commercial\wrappers\aspnetmvc\Examples\VS2015
https://demos.telerik.com/aspnet-mvc/grid
If you group by one of the columns, you will see that the sorting will still work within the items in the group. In case there is something that we should know in the project that you are working on, please share it so we can provide you with the best possible approach to resolve any issues which you may be experiencing.
Kind Regards,
Alex Hajigeorgieva
Progress Telerik
The Kendo UI Grid sorts the items within the groups when it is grouped, the groups themselves are already sorted.
You can test the functionality in our online demos which are also available in the distributions as a runnable solution here:
~telerik.ui.for.aspnetmvc.<VERSION>.commercial\wrappers\aspnetmvc\Examples\VS2015
https://demos.telerik.com/aspnet-mvc/grid
If you group by one of the columns, you will see that the sorting will still work within the items in the group. In case there is something that we should know in the project that you are working on, please share it so we can provide you with the best possible approach to resolve any issues which you may be experiencing.
Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Daochuen
Top achievements
Rank 1
Iron
Veteran
Iron
answered on 02 Jul 2018, 03:01 PM
Hi Alex,
Thanks for your help. Do I have a way for only allowing user grouping on one column which mean no any ways to drag other columns to the top?
0
Accepted
Hello, Daochuen,
The Kendo UI Grid has a built-in way to achieve that at a column level. You may use the column.groupable property and set it to false:
https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/columns.groupable
For UI for ASP.NET MVC, use the syntax as below:
Kind Regards,
Alex Hajigeorgieva
Progress Telerik
The Kendo UI Grid has a built-in way to achieve that at a column level. You may use the column.groupable property and set it to false:
https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/columns.groupable
For UI for ASP.NET MVC, use the syntax as below:
columns.Bound(x => x.LastName).Groupable(
false
);
Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.