What is the equivalent to the ExtJs3 Ext.grid.ColumnModel in ExtJs4?
Ext.grid.ColumnModel
What I want to do is hide a column, I did something like below in ExtJs3:
Ext.grid.header.Container
code of Ext.panel.Table:
headerCtCfg = me.columns || me.colModel, ... if (headerCtCfg instanceof Ext.grid.header.Container) { me.headerCt = headerCtCfg; me.headerCt.border = border; me.columns = me.headerCt.items.items; }
so u can use
grid.columns[i].hide()/show()