How do I check for this ? I`m using expandChildrenOf to expand all children of a clicked node (label). I would like it to reverse it (pass 'false' as second arg to expandAllChildren) if the node is already open. But how do I know its open ? Have looked through the docs without luck. Also, can this be done by clicking the small triangle instead of the label ?
Any help appreciated...
OpenItems should contain the UID of open nodes.
Why didnt I think of that ??