treeNode.check_Child_State.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>Number</span><span class="path">treeNode.</span>check_Child_State</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>Used to record the node's half-checked state about its all child nodes's checkbox or radio. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>
  9. <p class="highlight_red">zTree v3.x provides treeNode.getCheckStatus () method to get an accurate the half-checked status.</p>
  10. <p class="highlight_red">Do not initialize or modify it, it is an internal argument.</p>
  11. <p>Default: true</p>
  12. </div>
  13. </div>
  14. <h3>Number Format</h3>
  15. <div class="desc">
  16. <p>Rules:</p>
  17. <table width="100%" border="0" cellspacing="1" cellpadding="0">
  18. <thead>
  19. <tr><td colspan="4">setting.check.checkType = "checkbox"</td></tr>
  20. <tr><td>treeNode.check_Child_State</td><td>Checked Status Description</td></tr>
  21. </thead>
  22. <tbody>
  23. <tr><td>-1</td><td>Has no child nodes or all child nodes's 'nocheck' attribute is true.</td></tr>
  24. <tr><td>0</td><td>All of the child nodes has not been checked.</td></tr>
  25. <tr><td>1</td><td>Some of the child nodes has been checked.</td></tr>
  26. <tr><td>2</td><td>All of the child nodes has been checked.</td></tr>
  27. </tbody>
  28. </table>
  29. <br/>
  30. <table width="100%" border="0" cellspacing="1" cellpadding="0">
  31. <thead>
  32. <tr><td colspan="4">setting.check.checkType = "radio"</td></tr>
  33. <tr><td>treeNode.check_Child_State</td><td>Checked Status Description</td></tr>
  34. </thead>
  35. <tbody>
  36. <tr><td>-1</td><td>Has no child nodes or all child nodes's 'nocheck' attribute is true.</td></tr>
  37. <tr><td>0</td><td>All of the child nodes has not been checked.</td></tr>
  38. <tr><td>2</td><td>Some of the child nodes has been checked.</td></tr>
  39. </tbody>
  40. </table>
  41. </div>
  42. </div>
  43. </div>