bkjxxxw/WebContent/static/jquery-ztree/3.5.12/api/cn/setting.data.key.checked.html

24 lines
754 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="apiDetail">
<div>
<h2><span>String</span><span class="path">setting.data.key.</span>checked</h2>
<h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.excheck</span> 扩展 js ]</span></h3>
<div class="desc">
<p></p>
<div class="longdesc">
<p>zTree 节点数据中保存 check 状态的属性名称。</p>
<p>默认值:"checked"</p>
<p class="highlight_red">请勿与 zTree 节点数据的其他参数冲突例如checkedOld</p>
</div>
</div>
<h3>setting 举例</h3>
<h4>1. 设置 zTree 显示节点时,将 treeNode 的 isChecked 属性当做节点名称</h4>
<pre xmlns=""><code>var setting = {
data: {
key: {
checked: "isChecked"
}
}
};
......</code></pre>
</div>
</div>