Remove Grid Columns Dynamically in Extjs 4
Code snippet for removing columns in real time from an Extjs 4 grid.
When you create the columns in the grid you will need to specify an id: even when you are using a dataindex:
var myComp = myGrid.headerCt.getComponent(colIdForRemoval); myGrid.headerCt.remove(myComp); myGrid.getView().refresh();
When you create the columns in the grid you will need to specify an id: even when you are using a dataindex:
Comments
Post a Comment