Restoring states for TreePanel and Dynamic TabPanel
I have a two panels: A TreePanel (URL TreeStore) on the left with a list of departments and employees. When an user clicks on the employee name, a new tab is added to the TabPanel on the right for each employee (if there is no tab already open for that employee).
When an user logs out and logs back in, I wanted to restore the state of TreePanel and have the same number of tabs opened and same active tab as he had before logging out.
I was able to restore state of few other components in my page by adding stateId and stateEvents. However for these two components, I was unable to restore the state.
Wondering if you can shed some light on state management for TreePanel and TabPanel with dynamic number of tabs.