summaryrefslogtreecommitdiffstats
path: root/common/src/main/webapp/thirdparty/zTree/api/en/setting.view.autoCancelSelected.html
blob: 44ab90d061637ad70459a8725abbc9ef326f1854 (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
26
27
<div class="apiDetail">
<div>
	<h2><span>Boolean</span><span class="path">setting.view.</span>autoCancelSelected</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>When click the selected node while pressing the Ctrl-key or Cmd-key, allow to cancel selected the node.</p>
			<p class="highlight_red">If you don't need this function, please set to false.</p>
			<p>Default: true</p>
		</div>
	</div>
	<h3>Boolean Format</h3>
	<div class="desc">
	<p> true means: press the Ctrl-key or Cmd-key, can cancel selected node.</p>
	<p> false means: press the Ctrl-key or Cmd-key, can't cancel selected node.</p>
	</div>
	<h3>Examples of setting</h3>
	<h4>1. Press the Ctrl-key or Cmd-key, can't cancel selected node.</h4>
	<pre xmlns=""><code>var setting = {
	view: {
		autoCancelSelected: false
	}
};
......</code></pre>
</div>
</div>