jQuery MiniUI
标题:
CheckBoxTree树形控件刷新事件要怎么写
[打印本页]
作者:
hyling
时间:
2022-2-11 11:15:50
标题:
CheckBoxTree树形控件刷新事件要怎么写
本帖最后由 hyling 于 2022-2-11 11:24 编辑
CheckBoxTree树形控件刷新事件要怎么写
<input type="button" value="刷新节点" on click ="refresh()"/>
<ul id="tree2" class="mini-tree" url="../data/listTree.txt" style="width:200px;padding:5px;"
showTreeIcon="true" textField="text" idField="id" parentField="pid" resultAsTree="false"
showCheckBox="true" checkRecursive="true"
allowSelect="false" enableHotTrack="false" >
function refresh() {
var tree = mini.get("tree2");
tree.load("../data/listTree.txt");
}
作者:
felt
时间:
2022-2-11 14:17:19
tree.reload();
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2