I have recreated this unwanted behavior with your demos @http://demos.telerik.com/aspnet-mvc/grid/frozen-columns.
10 Answers, 1 is accepted
This is a known issue which should be already addressed. Please download the latest internal build and give it a spin.
Regards,
Rosen
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
e.g. I drag 5th column after 2nd one and as result 2nd becomes 3rd, 3rd becomes 4th and 4th becomes 2nd (5th remains 5th).
Hello Rafal,
I'm afraid I'm not able to re-create such behavior locally, using the provided information. Please take a look at this short video which captures the behavior of the attached test page. Maybe I'm missing something obvious.
Regards,Rosen
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Having your answer in mind I've done some research and found out that last column with .Locked(true) property is causing the problem. If I remove the "lock" sorting is working just fine.
Hello Rafal,
I'm afraid I'm still not sure how to recreate the issue locally. Therefore, could you please provide a small runnable sample (or modify the test page I have sent) and the required steps which can demonstrate the issue locally.
Regards,Rosen
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Funny thing is if you set "locked: true" in your grid the column will move left-most and will become "locked". In my case (I set lock on last column, which contains dropdownmenu template) it remains where I initially place it (right-most), which is probably why you are not able to recreate my issue (I mentioned earlier, that only columns to the left from the locked one don't sort properly).
I am using .Locked(true) just to disable reordering of the last column.
Maybe this will help you to understand what am I dealing with, if not I'm gonna try to give you a complete (not)working example.
Hello Rafal,
Could you verify that the Grid scrolling is enabled. Note that locked option can be used only when Grid is scrollable, otherwise unexpected results will occur.
Regards,Rosen
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
When I'm trying to enable scrolling I get a JS error (attached).
It was not enabled. I wasn't aware I have to enable it and to be honest I don't want it enabled. I just want a grid with all except one reorderable columns. Is there any way I can achieve that?
Hello Rafal,
I'm afraid that reordering feature cannot be disabled on per column basis. However, you may consider the workaround shown in this forum thread.
Regards,
Rosen
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.