Once again a question about extjs.
I use EXT 4.0.2 and have a couple of grids. How can i store the settings for the column width and position? Everytime i load the page everything is back to basic and that starts to annoy me :)
Thanks,
Toby
Once again a question about extjs.
I use EXT 4.0.2 and have a couple of grids. How can i store the settings for the column width and position? Everytime i load the page everything is back to basic and that starts to annoy me :)
Thanks,
Toby
Add stateful
: true
statement to grid's config.
For this to work you also should enable state manager:
Ext.state.Manager.setProvider(new Ext.state.CookieProvider({
expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now
}));