Peter Decker wrote: > I'm using dTreeView to display hierarchichal information. I can see > how to expand a single node using expand(), and all nodes in the tree > with expandAll(), but how do I expand a single branch? In other words, > expand a node and all of its child nodes, while leaving the rest of > the tree unchanged?
Giving the user a high level of control should be paramount. If the user were to expand a branch, and then collapse some subbranches, collapse the branch they were working on and then go back to it, the state set by the user should be restored. It already does this, but perhaps what you want is to first expand all branches (do this right after the tree is populated), and then collapse the root branch. That way, when they open a given branch, the default will be for all subbranches to be expanded, but from then on it is how the user sets it. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
