开发者

Is there a way to know if a dijit.Tree node is open or closed?

isExpandable tells you if a dijit.Tree has children, but what tells you if this tree is open (ex开发者_运维百科panded) or closed?


If you get a reference to the tree node, you can simply ask

if(node.isExpanded == true) 
{   
   //your code here 
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜