Grouping column sorting ignored

8 views
Skip to first unread message

Alex

unread,
Jan 23, 2012, 3:06:33 PM1/23/12
to TelerikMvcGridCustomBindingHelper
I grouped by "Shipping Date" column and then sorted ASC and DESC.
DESC sorting was ignored for this column. Sorting on other columns
worked. Sorting on the "Shipping Date" column works when that column
is not in the GroupBy. Looks like a bug.

Luis Fernando

unread,
Jan 23, 2012, 3:57:42 PM1/23/12
to telerikmvcgridcu...@googlegroups.com
I noticed this, but when I checked the demo project (try group by "Order Date") in the Telerik website I found the same behavior.

Alex Feldman

unread,
Jan 23, 2012, 4:03:57 PM1/23/12
to telerikmvcgridcu...@googlegroups.com
You are correct, they have this bug too.  I'm sure this can be fixed inside the helper, since correct grouping and ordering information is getting passed into the GridCommand variable by the grid.

Luis Fernando

unread,
Jan 23, 2012, 4:58:05 PM1/23/12
to telerikmvcgridcu...@googlegroups.com
I found a question in the Telerik forums related to this effect: Confusion over order of sorting of data using sortable and groupable 

This seems a matter of preference on what should be done first, grouping or sorting, I do not really like the idea of ​​changing the behavior of the grid, but I will continue to investigatewhether it is really a bug...

Alex Feldman

unread,
Jan 23, 2012, 5:21:35 PM1/23/12
to telerikmvcgridcu...@googlegroups.com
I don't understand why this would a preference thing.  Seems like both should be applied.  I sort and group by the same column.  The sort should be respected but it's not.  Bug. No?
Reply all
Reply to author
Forward
0 new messages