87,984
社区成员
发帖
与我相关
我的任务
分享
.x-tree-checkbox-halfchecked {
background-position: 26px 0px;
}
listeners: {
checkchange: function(n,s,eOpts){
var checkbox = Ext.query("*[data-recordid="+n.internalId+"]")[0].getElementsByTagName('input')[0];
checkbox.className = " x-tree-checkbox x-tree-checkbox-halfchecked"; //半选
// checkbox.className = " x-tree-checkbox x-tree-checkbox-checked"; //勾选
// checkbox.className = " x-tree-checkbox"; //不选
}
}
那可有人知道如何获取一个树的一个节点的html?