View Full Version : How to save grid filter state across page loads?

21 Mar 2014, 8:28 AM

I have an app with several grids with the the filtersfeature enabled.
What I'd like to be is for the user to be able to save the state of filters, rearranged/resized/sorted columns, etc across page loads.

I've seen the stateId property but I am not sure how to use it.
Any help?

24 Mar 2014, 6:33 AM

27 Mar 2014, 6:33 AM
Still need solution to this.

27 Mar 2014, 12:29 PM
When I implemented something like this, it was originally for ExtJS 3 and I relied heavily on http://rowactions.extjs.eu/source.php?file=js/Ext.ux.state.HttpProvider.js.

There is discussion at http://www.sencha.com/forum/showthread.php?24970-Buffering-Http-State-Provider and a working demo at http://rowactions.extjs.eu/ (http://rowactions.extjs.eu/I)

I had to tweak it to work with my scenario and to allow me to save different configurations that I could query a database for, like a "work" view and a "display" view.