$(function() {
$('#tt').combotree({
url: 'getTree.do',
onBeforeSelect: function(node) {
if (!$(this).tree('isLeaf', node.target)) {
return false;
}
},
onClick: function(node) {
if (!$(this).tree('isLeaf', node.target)) {
$('#tt').combo('showPanel');
}
}
});
})
Easyui控制combotree只能选择叶子节点
最新推荐文章于 2024-06-04 23:11:16 发布