PDA

View Full Version : Ext JS 4 - Save and Load Tree state



ank5
18 Oct 2013, 7:54 AM
I am using a simple Ext JS Tree. Is there a way to save and load the tree state?


Use case
1. User expands the tree and opens a specific node.
2. Navigates to another page.
3. Comes back to the page with the tree, same node should automatically be expanded for the user.


Can someone please let me know how this can be achieved?


Thank you

scottmartin
21 Oct 2013, 1:31 PM
Have a look at the following:
http://www.sencha.com/forum/showthread.php?141924
https://github.com/AlexTiTanium/ExtJsStatefulTree

Scott