setting.check.nocheckInherit.html 1.6 KB

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