setting.check.nocheckInherit.html 1.3 KB

12345678910111213141516171819202122232425262728
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>Boolean</span><span class="path">setting.check.</span>nocheckInherit</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>When the parent node's 'nocheck' attribute is true, set the child nodes automatically inherit the 'nocheck' attribute. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
  9. <p class="highlight_red">1. Only be used to initialize the nodes, easy batch operations. Please use the 'updateNode' method modify existing node.</p>
  10. <p>Default: false</p>
  11. </div>
  12. </div>
  13. <h3>Boolean Format</h3>
  14. <div class="desc">
  15. <p> true means: When add new child nodes, if parent node's 'nocheck' attribute is true, the child nodes automatically inherit the 'nocheck' attribute.</p>
  16. <p> false means: When add new child nodes, the child nodes don't inherit the 'nocheck' attribute from parent node.</p>
  17. </div>
  18. <h3>Examples of setting</h3>
  19. <h4>1. When add new child nodes, the child nodes automatically inherit the 'nocheck' attribute from parent node.</h4>
  20. <pre xmlns=""><code>var setting = {
  21. check: {
  22. enable: true,
  23. nocheckInherit: true
  24. }
  25. };
  26. ......</code></pre>
  27. </div>
  28. </div>