PDA

View Full Version : [CLOSED] Remove choose columns from the grid



registrator
Jul 24, 2014, 5:56 PM
How to remove the option at the column title of the grid for the user to select columns please?

13811

Daniil
Jul 25, 2014, 9:48 AM
Hi @registrator,

Please set EnableColumnHide="false" for a GridPanel.
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.panel.Table-cfg-enableColumnHide

Or Hideable="false" for specific Columns.
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.grid.column.Column-cfg-hideable

registrator
Jul 25, 2014, 10:07 PM
X.GridPanel().EnableColumnHide(false)

For the MVC view.

Thank you.