treeNode.nocheck.html 1.1 KB

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