summaryrefslogtreecommitdiffstats
path: root/common/src/main/webapp/thirdparty/zTree/api/en/treeNode.name.html
blob: fa508ccb80b1f8e4c71eba924c29df72752adf1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<div class="apiDetail">
<div>
	<h2><span>String</span><span class="path">treeNode.</span>name</h2>
	<h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
	<div class="desc">
		<p></p>
		<div class="longdesc">
			<p>The node's name</p>
			<p class="highlight_red">1. If you want to change 'name' attribute, please modify the 'setting.data.key.name' attribute.</p>
			<p>Default: undenfined</p>
		</div>
	</div>
	<h3>String Format</h3>
	<div class="desc">
	<p>String object. The HTML special characters are escaped</p>
	</div>
	<h3>Examples of treeNode</h3>
	<h4>1. Set node's name to 'test1', 'test2', 'test3'</h4>
	<pre xmlns=""><code>var nodes = [
	{ "id":1, "name":"test1"},
	{ "id":2, "name":"test2"},
	{ "id":3, "name":"test3"}
]</code></pre>
</div>
</div>