1

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?

nnyby
  • 4,748
  • 10
  • 49
  • 105
  • Refer to the link below: This should solve your answer http://stackoverflow.com/questions/4391518/get-json-data-from-extjs-treepanel – vkumar22 Jan 13 '17 at 03:07
  • Here is the link to the solution: http://stackoverflow.com/questions/16850978/how-to-generate-a-custom-json-from-treepanel – vkumar22 Jan 13 '17 at 03:10

1 Answers1

1

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.

ilija139
  • 2,925
  • 3
  • 20
  • 23