jQuery MiniUI

标题: 树父与子关联选择 [打印本页]

作者: 哎呀    时间: 2025-4-22 11:01:01     标题: 树父与子关联选择

http://www.miniui.com/demo/#src=tree/checkmodel.html,这个页面案例中<ul id="tree2" class="mini-tree" url="../data/listTree.txt" style="width:200px;padding:5px;"         checkRecursive="false"
        showTreeIcon="true" textField="text" idField="id" parentField="pid" resultAsTree="false"  
        showCheckBox="true"   _checkOnTextClick="true"
        >
    </ul>

checkRecursive="false" 父子关联选择设置为false,为啥选择父级还是会选择子集,_checkOnTextClick="true"这个属性好像也没啥用,  我的树形数据checkRecursive="true" autoCheckParent="true",第一个属性起作用,第二个属性为啥不起作用,选择子节点,父节点不自动选择呢?






欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2