I need to stringify an Ext.data.TreeStore (cause I wanna save it to Local Storage), but calling Ext.encode() doesn't work -- I get a circular structure error.
Has anyone done this before?
I need to stringify an Ext.data.TreeStore (cause I wanna save it to Local Storage), but calling Ext.encode() doesn't work -- I get a circular structure error.
Has anyone done this before?
I can't think of anyway, maybe it's just not possible to save it like it is with normal store. I think your best bet is to save it item by item.