View Full Version : How to stop a locked column from moving unless unlock is selected?

17 Mar 2015, 10:59 AM
Hi all,

I have a grid with about 20 columns. When I select the lock option for any column, that column will be moved to the far left and when I click on the option dropdown menu for that column, I can see the lock option to be disabled and unlock option enabled which means the column is in a locked status. But when I try to move this column to any position on right side, it gets moved and the lock option gets enabled and unlock option gets disabled. Is there a way that I can stop the column from moving when it is in locked status and only when I select the unlock option, it should be able to move to any position,

Not sure what is the use of these lock and unlock options for each column...

17 Mar 2015, 5:20 PM
Locking prevents the column from taking part in horizontal scrolling, it doesn't prevent the user from moving it.

It isn't clear what you're trying to achieve but you may want to consider one of the column config settings draggable and lockable to prevent dragging.