PDA

View Full Version : Grid column header draggable



Ronits
3 Oct 2012, 7:54 AM
Hi,
I have implemented ptype : 'gridviewdragdrop' plugin for Ext.grid.Panel. However, it makes the headers of the columns draggable.
I cannot use the 'draggable (http://docs.sencha.com/ext-js/4-1/#%21/api/Ext.Component-cfg-draggable)' config od grid, because that will disable draganddrop plugin of grid.
Please help me as to how shall I disable headers<th> from being dragged, while the corresponding column<tr> should be dragged.

scottmartin
3 Oct 2012, 7:04 PM
Does setting: enableColumnMove to false make any difference?

Scott.

Ronits
4 Oct 2012, 5:46 AM
Thanks a lot, Scott.

'enableColumnMove : false' did the trick. :)