[Tree] 【已解决】请问ColumnTree如何根据当前节点寻找其子节点的checkbox?

[ 398 查看 / 3 回复 ]

【已解决】请问ColumnTree如何根据当前节点寻找其子节点的checkbox?
请问ColumnTree如何根据当前节点寻找其子节点的checkbox?
最后编辑Astral 最后编辑于 2009-12-23 21:03:47
TOP
【已解决】请问ColumnTree如何根据当前节点寻找其子节点的checkbox?

  1. node.eachChild(function(child){
  2.     var checkbox = child.getUI().checkbox;
  3. },this);
复制代码
TOP
【已解决】请问ColumnTree如何根据当前节点寻找其子节点的checkbox?

listeners: { 'checkchange': function(node, checked) {
                    node.eachChild(function(child){
                        alert(child.getUI().checkbox);
                    });
                }
            },
没反应
TOP
【已解决】请问ColumnTree如何根据当前节点寻找其子节点的checkbox?

是这样的,ColumnTree有多个列,第一列的checkbox我可以得到,第二列的checkbox我不知道怎么得到。
TOP