This is a migrated thread and some comments may be shown as answers.

Multiselect grouping do not keep the order of items.

7 Answers 639 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
Bridge24
Top achievements
Rank 1
Iron
Bridge24 asked on 06 Nov 2015, 07:35 PM

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

Sort by
0
Georgi Krustev
Telerik team
answered on 10 Nov 2015, 10:26 AM
Hello Dani,

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
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Bridge24
Top achievements
Rank 1
Iron
answered on 10 Nov 2015, 02:38 PM

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?

 

 

 

0
Georgi Krustev
Telerik team
answered on 12 Nov 2015, 11:38 AM
Hello Dani,

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
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Ricky
Top achievements
Rank 2
answered on 29 Sep 2017, 09:44 AM

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)?

0
Nencho
Telerik team
answered on 03 Oct 2017, 07:10 AM
Hello Ricky,

Yes, the functionality in question should be achieved using the server grouping, as my colleague had previously described.  

Regards,
Nencho
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Ricky
Top achievements
Rank 2
answered on 03 Oct 2017, 02:22 PM
That's unexpectedly disappointing. Is there already a UserVoice / feature request regarding client-side group+sort support?
0
Nencho
Telerik team
answered on 05 Oct 2017, 07:43 AM
Hello Ricky,

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
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
MultiSelect
Asked by
Bridge24
Top achievements
Rank 1
Iron
Answers by
Georgi Krustev
Telerik team
Bridge24
Top achievements
Rank 1
Iron
Ricky
Top achievements
Rank 2
Nencho
Telerik team
Share this question
or