jQuery MiniUI

标题: 关于mini-tree节点被多选中的问题 [打印本页]

作者: 水电费    时间: 2015-11-16 18:37:12     标题: 关于mini-tree节点被多选中的问题

<div size="225" showCollapseButton="false" style="width:100%;height:100%;">
                                <ul id="funcTree" class="mini-tree" style="width:100%;height:100%;"
                                        url="cn.system.FunctionAuth.getFunctionAuthTree.action"
                                        idField="id" textField="text" parentField="pid" resultAsTree="false"
                                        showTreeIcon="true" ajaxData="setRoleId"
                                        showTreeLines="true"
                                        expandOnDblClick="true"
                                        expandOnLoad="false"
                                        showCheckBox="true"  
                                        checkRecursive="true"
                                        autoCheckParent="false"
                                        >
                                </ul>
</div>
如上代码设置autoCheckParent="false"时,属性结构显示如下图所示:

[attach]6816[/attach]

我给树的结果集中只有“编辑”、“删除”、“查看”节点的checked属性为false。
加载的树节点中“编辑”,“删除”,“查看”被错误的多选,正确的是应该只有“增加”节点被选中。

不知道是什么原因...





作者: felt    时间: 2015-11-17 09:47:08

请使用最新版本
[attach]6817[/attach]





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