Closed ghost closed 9 years ago
I have the same problem. My solution is to save only the selected tree node.
The solution is implemented in django-mptt-admin.
Greetings, Marco
cant you store the initial json data and then keep on updating it everytime there is a change in it like adiing nodes on ajax calls... and then use this json data next time to generate the tree structure
I think that's possible in theory. However, it's difficult to implement. Also I think it maybe too slow.
This is now fixed in the dev branch. The saveState
option should work automatically for nodes that are loaded on demand.
Hi everyone, I am trying to savestate of the tree in localstorage.The example shown in the demo for savestate function uses the entire data loaded at once.However, i am loading the data on demand using the ajax calls and save state is not working for it.
Suggest any idea for it