remyg
17 Feb 2012, 4:01 AM
Hi,
I have a TreePanel with a TreeStore that uses JSON to read and write data. This works fine, calling sync issues the request to my server. There is on issue I can not resolve: when adding an item to the treepanel and the JSON call to the server returns the assigned unique ID of the record, which also should go to the node in the TreePanel/TreeStore this neither of both are updated!
This setup works fine with the DataStore but not with the TreeStore. I can nowhere find an example or any hint how to solve this.
Thanks for any help, Remy
I have a TreePanel with a TreeStore that uses JSON to read and write data. This works fine, calling sync issues the request to my server. There is on issue I can not resolve: when adding an item to the treepanel and the JSON call to the server returns the assigned unique ID of the record, which also should go to the node in the TreePanel/TreeStore this neither of both are updated!
This setup works fine with the DataStore but not with the TreeStore. I can nowhere find an example or any hint how to solve this.
Thanks for any help, Remy