setting.view.autoCancelSelected.html 961 B

123456789101112131415161718192021222324252627
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>Boolean</span><span class="path">setting.view.</span>autoCancelSelected</h2>
  4. <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
  5. <div class="desc">
  6. <p></p>
  7. <div class="longdesc">
  8. <p>When click the selected node while pressing the Ctrl-key or Cmd-key, allow to cancel selected the node.</p>
  9. <p class="highlight_red">If you don't need this function, please set to false.</p>
  10. <p>Default: true</p>
  11. </div>
  12. </div>
  13. <h3>Boolean Format</h3>
  14. <div class="desc">
  15. <p> true means: press the Ctrl-key or Cmd-key, can cancel selected node.</p>
  16. <p> false means: press the Ctrl-key or Cmd-key, can't cancel selected node.</p>
  17. </div>
  18. <h3>Examples of setting</h3>
  19. <h4>1. Press the Ctrl-key or Cmd-key, can't cancel selected node.</h4>
  20. <pre xmlns=""><code>var setting = {
  21. view: {
  22. autoCancelSelected: false
  23. }
  24. };
  25. ......</code></pre>
  26. </div>
  27. </div>