View Full Version : Save state GridPanel

23 May 2009, 10:10 AM
Hello (french, sorry for my english),

i don't know if it's a bug or my code is not good :

I have a GridPanel with a stateId in a Panel.. If i reload my application i restore my state with CookieProvider :

Ext.state.Manager.setProvider (new Ext.state.CookierProvider());

Bug in another Ext.Window i have a GridPanel with another stateId... And by moment i have a conflict , and first GridPanel don't restore. Or his restore state is bad...

I don't try with ExtJs 2.X but maybe my code is not good and for multiple GridPanel in application my code is not suffisant ?

Thanks for your help,

25 May 2009, 7:52 AM
Ok i think i understand problem.

I use Ext.ux.BufferView (see samples from ext 3) and if i type in my gridpanels :

view : new Ext.ux.BufferView({ rowHeight : 30, scrollDelay : false})

it's a problem and restore state bug.

But this code is ok :

view : new Ext.ux.BufferView({ rowHeight : 30})

I test more and i confirm

25 May 2009, 8:05 AM
No it's not BufferView... I think it's a bug ExtJS 3.