PDA

View Full Version : hiding grid column locking and selction features in ExtJS 4.1



Pravin.Pawar
1 Nov 2012, 7:32 PM
Hi,

I want to hide grid column locking/ unlocking and selection functionality which is provided by default for the ExtJS grid panel. This functionality is provided from the arrow click on the right side of the each column header.

Please let me know if there is any property which will support to hide these features from the ExtJS grid.

Thanks in Advance, Pravin

mitchellsimoens
5 Nov 2012, 6:09 AM
There isn't a config that will show/hide these options. You would have to override the Ext.grid.header.Container

mitchellsimoens
5 Nov 2012, 7:19 AM
Relooking at this, to specify a column as not being able to be locked you can set lockable as false on the column(s).

Pravin.Pawar
8 Nov 2012, 4:48 AM
I have to keep 1st column locked and rest of the columns scrollable.

If there is any locked column then lockable: false do NOT work... but if we remove locked property from the grid column then lockable start working and remove locking for all the columns.

Please let me know how we can use both the property as the same time. Thanks,