So I have the grid
which obviously has some store
and on beforerender
event I want to change the store of the grid? Can I do that ? If yes, how ?
The reconfigure
method should do this for you:
reconfigure ([store], [columns])
Reconfigures the grid with a new store/columns. Either the store or the columns can be omitted if you don't wish to change them.
http://docs-origin.sencha.com/extjs/4.1.3/#!/api/Ext.grid.Panel-method-reconfigure
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With