Hi,
I am using DFtree. I need to re-draw the tree to its
original structure when I get back control to the same
page. suppose I had folder root and two sub-fodlers A
and B both folders in open form, then I need the same
display when I come back to the page after certain
redirections.
How can I call functions to highlight (selected) and
open so that I can render teh page when I come back if
this is an alternative.
Any early help is appreciated
Thanks
- Anand
Logged In: YES
user_id=209010
Originator: NO
Sorry for very late response. I've joined the project some weeks ago.
With version 0.2.2, the tree state (I mean only opened nodes) is saved in a cookie. So, when you come back the nodes are re-opened exactly as left before redirection.
Unfortunately, the selected node is not saved. As a workaround, you can use the node._select() and node._unselect() methods without parameter. Only one node can be selected.