Hi,
I using the Kendo Multiselect with grouping option. I have to show the items in the order in which I received them. When I apply the group, the order is altered.
See the example http://dojo.telerik.com/uNaQu.
In this example, Maria Anders is the first name of the non-grouped list. Yet she is the second name in the group "Germany" in the grouped list.
The order should remain the same, but this is not what happens.
7 Answers, 1 is accepted
The MultiSelect widget uses the DataSource component to group the passed data. It will be grouped and sorted ascending by default.
The only way to keep the group order is to group the data on the server. For this you will need to enable serverGrouping option of the datasource.
Regards,
Georgi Krustev
Telerik
Hi,
I don't want keep the groups order, but I want keep the order of items inside groups. Why sorting applied to the ​items is not preserved after grouping?
The DataSource grouping functionality is designed to sort the items, before group them. This is built-in behavior, which cannot be modified. That is why I mentioned that you will need to use server grouping. Thus you will have a full control over the grouping.
Regards,
Georgi Krustev
Telerik
Hello!
Is this still the case with 2017 R3? And why doesn't it work if a set grouping by field A asc and sorting to field A asc, field B asc (so sorting mirrors grouping)?
Yes, the functionality in question should be achieved using the server grouping, as my colleague had previously described.
Regards,
Nencho
Progress Telerik
At the time being, there is not such feature request logged in our public portal. However, please feel free to describe it and log it:
http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback
Hence, it could be evaluated, voted for, and base on the demand - implemented.
Regards,
Nencho
Progress Telerik