PDA

View Full Version : stateEvents not being picked up



emmy mathew
20 Jul 2010, 10:12 PM
Hi,

I'm having some trouble with the stateEvents of my grid panels not being picked up. When I call the following it works great and writes to the server. Code:

But when I resize/move a column, the set() function is not being called and so nothing gets queued..

Code:
Ext.state.Manager.setProvider(new Ext.ux.HttpProvider({
url:'<my cookies url>'
,user:'999'
,readBaseParams:{cmd:'readState'}
,saveBaseParams:{cmd:'saveState'}
,autoRead:false
}));
Ext.state.Manager.getProvider().initState(<my data>);
In the grid I have:

Code:
stateful: true,
stateEvents: ['columnmove', 'columnresize']
When I was using the CookieProvider these events were being picked up.
I have initialized HttpProvider before Ext.onReady. Please help.