Converting an Ext.data.TreeStore to JSON
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 circ开发者_StackOverflowular 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.
精彩评论