setting.view.selectedMulti.html 935 B

12345678910111213141516171819202122232425262728
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>Boolean</span><span class="path">setting.view.</span>selectedMulti</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>Set whether to allow select multiple nodes.</p>
  9. <p>Default: true</p>
  10. </div>
  11. </div>
  12. <h3>Boolean Format</h3>
  13. <div class="desc">
  14. <p> true mean: you can select multiple nodes.</p>
  15. <p> false mean: you can only select one node.</p>
  16. <p class="highlight_red">1. Press Ctrl key, you can select multiple nodes.</p>
  17. <p class="highlight_red">2、This attribute don't affect the feature of cancel select node. ( please see setting.view.autoCancelSelected )</p>
  18. </div>
  19. <h3>Examples of setting</h3>
  20. <h4>1. Only select one node.</h4>
  21. <pre xmlns=""><code>var setting = {
  22. view: {
  23. selectedMulti: false
  24. }
  25. };
  26. ......</code></pre>
  27. </div>
  28. </div>