Hi Dima,
I have already responded to you in the ticketing system but I will share my response here in case anyone else comes across this post. I am sorry to hear that you are disappointed with the lack of a custom group sort compare functionality. However, feature implementation in our roadmap and priorities depend largely on the business value and customer demand for specific components and features. We strive to implement functionalities which are in high demand first. We also have a Feature Acceleration Programme separate offering which allows a customer to negotiate a certain component or functionality to be implemented on demand or sooner than our roadmap implies.
Currently, the groups are sorted
ascending by default in alphabetical order. The sort which is applied to the column headers sorts the group items, not the groups themselves.
At present, there are two options to achieve the desired custom group sort:
1) Use server operations and provide the groups as desired:
http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#configuration-serverSorting
2) If you use client operations, some custom logic will be required.
- Provide another field which holds the group priority and when grouping occurs, group by that field instead-
You will need a column template to show the corresponding field value, e.g. days of the week order
- And a group header template
Here is a runnable example with the days of the week:
http://dojo.telerik.com/UgoyO
Finally, please take the time to cast a vote in the UserVoice form at:
http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback/suggestions/16620391-support-custom-sorting-for-datasource-groups
The most popular ideas are considered for priority implementation.
Regards,
Alex Hajigeorgieva
Progress Telerik