jQuery MiniUI 开发教程 树形控件 多选树:CheckBoxTree(七)
多选树:CheckBoxTree
参考示例:多选树:CheckBoxTree
创建代码
<ulid="tree2"class="mini-tree"url="../data/tree.txt"style="width:300px;"
showTreeIcon="true"textField="text"idField="id"showCheckBox="true"
onbeforenodecheck="onBeforeNodeCheck"checkRecursive="true"allowSelect="false"enableHotTrack="false">
</ul>
showCheckBox:显示树形的checkbox
checkRecursive:决定是否联动选择
设置多选
tree.setValue("forms,button,lists");
获取多选
varvalue=tree.getValue();
alert(value);
相关推荐
swazerz 2020-05-16
tanglinbobobo 2019-11-18
andyzhaojianhui 2012-02-17
industry0 2013-11-08
zuoyanyan 2019-07-12
tanglinbobobo 2019-07-01
香帅 2011-02-05
lining 2012-09-24
AreayGK 2019-03-03
摆渡者 2018-03-31