How-to:find tree node of depth >= 2 by id? the "getNodeById doesn't work"
Suppose there exists a tree structure like this:
tree.getNodeById(theIdOfChild1) // this method can return child1 node correctly
tree.getNodeById(theIdOfChild1.1) // this method return undefined
After looking at the api, I found that it is because the root.expand call back function will be called immediately after the root itself expand, ignoring the child nodes and sub trees.
My question is, is there any way to call a function right after the whole tree structure is expanded?
Take a step further, I know async is quite a highlight for interacting with clients while doing jobs in backend, however, is there any way to be informed when the whole process is finished?
Thanks in advance!
Last edited by jiucenglou; 10 Jul 2007 at 7:05 AM.
Reason: clarify the question