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

grouping and sorting not working in grid

2 Answers 267 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Asanka
Top achievements
Rank 1
Asanka asked on 03 Jul 2014, 09:21 AM
I have found out that When we group on a particular column and try to sort on a column which is not the grouped column, sorting doesn't work at all...
Is there any configuration I have to set explicitly?

I attached a screen shot of from http://trykendoui.telerik.com/OVIM

2 Answers, 1 is accepted

Sort by
0
Asanka
Top achievements
Rank 1
answered on 03 Jul 2014, 09:37 AM
Here's the zipped version of the html I saved from http://trykendoui.telerik.com/
0
Rosen
Telerik team
answered on 07 Jul 2014, 06:22 AM
Hi Asanka,

The behavior you are experiencing is due to incorrect configuration. In the test page the DataSource serverSorting and serverPaging options are enabled however, the grouping is done at the client-side. In it advisable to set either all operations as server or none. Here is a modified version of your sample with disabled server operations. Note that when grouping is applied, sorting by column will yield the correct behavior of sorting the inner group items.

Please note that the demo service used in the example does not support grouping, this is why it is not enabled in the original demo site sample.

Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Asanka
Top achievements
Rank 1
Answers by
Asanka
Top achievements
Rank 1
Rosen
Telerik team
Share this question
or