summaryrefslogtreecommitdiffstats
path: root/common/src/main/webapp/thirdparty/zTree/api/en/setting.data.key.checked.html
blob: 2678cf25b6b4781874a656fb35df30141e9025cb (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
<div class="apiDetail">
<div>
	<h2><span>String</span><span class="path">setting.data.key.</span>checked</h2>
	<h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
	<div class="desc">
		<p></p>
		<div class="longdesc">
			<p>The node data's attribute to save the checked state.</p>
			<p>Default: "checked"</p>
			<p class="highlight_red">Please don't set the other node attribute which zTree used. (e.g., checkedOld)</p>
		</div>
	</div>
	<h3>Examples of setting</h3>
	<h4>1. set the 'isChecked' attribute to save the checked state.</h4>
	<pre xmlns=""><code>var setting = {
	data: {
		key: {
			checked: "isChecked"
		}
	}
};
......</code></pre>
</div>
</div>