I've figured out how to write a custom sort for a column using:
1.sortable: {
2.compare: function(a, b) {
3....
However, if I group a field, it doesn't seem to be using the custom sort. Am I doing something wrong or is this not a feature that is currently available?
Thanks.
3 Answers, 1 is accepted
0
Boyan Dimitrov
Telerik team
answered on 15 May 2015, 01:48 PM
Hello Eric,
I am afraid that the sorting of the groups is not affected by the custom sorting expression set for the field. The sorting expression only sorts the items, but not the groups if the grid is grouped by that field.
Regards,
Boyan Dimitrov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!