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

[Solved] Column sorting after unsuccessful grouping

2 Answers 104 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Piotr
Top achievements
Rank 1
Piotr asked on 05 Sep 2011, 12:51 PM
Hello,
I have a problem with Telerik MVC grid (ajax binding). My grid allows grouping, but not every column has grouping enabled. If I grab a column, move it just a bit towards grouping bar and release it (still my cursor is over column header), sorting is applied. I think that is a bug. If I start dragging column the only purpose for that is to move that column or to group by that column. Sorting shouldn't be applied in none of above cases.

Have you noticed that bug yet?

Regards
Piotrek

2 Answers, 1 is accepted

Sort by
0
Piotr
Top achievements
Rank 1
answered on 19 Oct 2011, 03:10 PM
Dear Telerik Team,
it has been quite a while since this obvious and annoying bug was spotted. Will you fix that in internal build?
Kind regards
Piotrek
0
Nikolay Rusev
Telerik team
answered on 20 Oct 2011, 12:58 PM
Hello Piotr,

Unfortunately this is known limitation of the grid control. The problem is that both handlers for grouping and sorting are attached on different elements, i.e grouping is attached on mouseup of the document while sorting on header click event.

Stopping grouping event propagation will not prevent header click(which will trigger column sorting) from being fired.

Best wishes,
Nikolay Rusev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Grid
Asked by
Piotr
Top achievements
Rank 1
Answers by
Piotr
Top achievements
Rank 1
Nikolay Rusev
Telerik team
Share this question
or