easy UI tree 禁止选中怎么设置

2025-05-07 14:52:00
推荐回答(3个)
回答1:

你自己参考吧,最主要的是下面的一个if里面的判断

回答2:

先使用find函数根据id找到节点,再用select函数显示。如:
var node = $('#tt').tree('find', 12);
$('#tt').tree('select', node.target);

回答3:

先使用find函数根据id找到节点,再用select函数显示。如: var node = $('#tt').tree('find', 12); $('#tt').tree('select', node.target)天津众 维UI设计提供