reconfiguring plugins after grid reconfigure in gridpanel
reconfiguring plugins after grid reconfigure in gridpanel
I need to reconfigure summary plugin after grid reconfigure. Can anyone let me know how to do the reconfiguring of summary plugin after grid reconfigure
this.NFTGrid.plugins[0].cm = GridCM; - If without this below line calls it will give error. So first assign new no. of columns to column model.
this.NFTGrid.reconfigure(this.NFTGridStore, GridCM); - Now reconfigure.
this.NFTGrid.plugins[0].init(this.NFTGrid); - Now call the plugin constructor.
this.NFTGrid.plugins[0].cm = GridCM; - In this I am giving new column model to the grid so that it won't give any error. When we do the reconfig.
this.NFTGrid.reconfigure(this.NFTGridStore,GridCM); - Reconfig with new column model and store
this.NFTGrid.plugins[0].init(this.NFTGrid); - calling plugin constructor. So that it will work fine.