summaryrefslogtreecommitdiffstats
path: root/common/src/main/webapp/thirdparty/zTree/api/cn/setting.data.key.children.html
blob: 66a49a7ef280b0b0fbc02227d39ba466d77baac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div class="apiDetail">
<div>
	<h2><span>String</span><span class="path">setting.data.key.</span>children</h2>
	<h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
	<div class="desc">
		<p></p>
		<div class="longdesc">
			<p>zTree 节点数据中保存子节点数据的属性名称。</p>
			<p>默认值:"children"</p>
		</div>
	</div>
	<h3>setting 举例</h3>
	<h4>1. 设置 zTree 显示节点时,将 treeNode 的 nodes 属性当做节点名称</h4>
	<pre xmlns=""><code>var setting = {
	data: {
		key: {
			children: "nodes"
		}
	}
};
......</code></pre>
</div>
</div>