PDA

View Full Version : Grid stateEvents getting overwritten in cookies



zkhalid
15 Apr 2010, 2:58 AM
Hi All,

I need some help regarding grid state events. I have a grid backed by cookieprovider state management. Now if i trigger a event say columnresize,columnmove or sortchange the state is persisted in cookies which is the desired behavior. Now if i come back to the page the the changed state is reflected which is correct but when i refresh again the grid state changes are gone in cookies and the grid layout is back to default. I checked the cookies content and the columnmove properties are not in there.

Please help...

zkhalid
15 Apr 2010, 9:55 PM
Its working now. Basically i was using an old version extJS 2.0 grid filters as well and that had a known bug. You can use extJS 3 filters or get the latest 2.0 grid filter version or you can simply do this
http://kb.tomec.net/javascript/extjs/50-stateful-grid-and-gridfilter-plugin-issue