treeNode.nocheck.html 1.3 KB

1234567891011121314151617181920212223242526272829
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>Boolean</span><span class="path">treeNode.</span>nocheck</h2>
  4. <h3>Overview<span class="h3_info">[ depends on <span
  5. class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
  6. <div class="desc">
  7. <p></p>
  8. <div class="longdesc">
  9. <p>1. Set node to hide the checkbox or radio. It is valid when <span class="highlight_red">[setting.check.enable = true]</span>
  10. </p>
  11. <p class="highlight_red">2. zTree support identification string 'true' & 'false'.</p>
  12. <p>Default: false</p>
  13. </div>
  14. </div>
  15. <h3>Boolean Format</h3>
  16. <div class="desc">
  17. <p class="highlight_red">true means: the node hide the checkbox or radio, and don't affect the checked
  18. association, and don't affect its parent node's half-checked status.</p>
  19. <p class="highlight_red">false means: the node show the checkbox or radio.</p>
  20. </div>
  21. <h3>Examples of treeNode</h3>
  22. <h4>1. Hide some node's checkbox / radio </h4>
  23. <pre xmlns=""><code>var nodes = [
  24. { "id":1, "name":"test1", "nocheck":true},
  25. { "id":2, "name":"test2"},
  26. { "id":3, "name":"test3"}
  27. ]</code></pre>
  28. </div>
  29. </div>