DHX Tree : How to know whether a node is open or not ?

Hi there,

How can I know that whether a particular tree node is open or not ?

There is getOpenState which can be used.

var state = tree.getOpenState();

The method can return:
-1 - close,
1 - opened,
0 - node doesn’t have children