TreeGrid: isExpanded/isCollapsed?

Hi there,

how can I check if nodes in a TreeGrid are expanded or collapsed? I want to implement a double click handler so the node collapse state will be changed from collapsed to expanded and vice versa.

Thanks in advance!

isExpanded() now available in rc1, thanks!