1 <div class="apiDetail">
\r
3 <h2><span>Boolean</span><span class="path">setting.edit.</span>enable</h2>
\r
4 <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
\r
7 <div class="longdesc">
\r
8 <p>Set zTree is in edit mode</p>
\r
9 <p class="highlight_red">Please set this attribute before zTree initialization. If you need to change the edit mode after the initialization, please use zTreeObj.setEditable() method.</p>
\r
10 <p>Default: false</p>
\r
13 <h3>Boolean Format</h3>
\r
15 <p> true means: zTree is in edit mode.</p>
\r
16 <p> false means: zTree is not in edit mode.</p>
\r
18 <h3>Editing Rules Description</h3>
\r
20 <p>1. When click the node, it will not open '<span class="highlight_red">node.url</span>' specified URL.
\r
21 <br/>2. Support for dynamic tree editing.
\r
22 <br/>3. You can drag-drop nodes, and support drag-drop nodes between multiple trees.
\r
23 <br/>4. Support use drag-drop to copy or move the node. (Reference: <span class="highlight_red">setting.edit.drag.isCopy / setting.edit.drag.isMove</span>)
\r
24 <br/>5. You can use the Edit button to modify the name attribute.
\r
25 <br/>6. You can use the Remove button to remove the node.
\r
28 <p class="highlight_red">Please note that letter case, do not change.</p>
\r
30 <h3>Examples of setting</h3>
\r
31 <h4>1. edit the tree</h4>
\r
32 <pre xmlns=""><code>var setting = {
\r