treeNode.isAjaxing.html 1.1 KB

123456789101112131415161718192021222324252627
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>Boolean</span><span class="path">treeNode.</span>isAjaxing</h2>
  4. <h3>Overview<span class="h3_info">[ depends on <span
  5. class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
  6. <div class="desc">
  7. <p></p>
  8. <div class="longdesc">
  9. <p>Judge whether the node's child nodes being loaded asynchronously.</p>
  10. <p class="highlight_red">Do not initialize or modify it, it is created by the zTree.</p>
  11. </div>
  12. </div>
  13. <h3>Boolean Format</h3>
  14. <div class="desc">
  15. <p> true means: the node's child nodes is being loaded asynchronously</p>
  16. <p> false means: the node's child nodes is not being loaded asynchronously</p>
  17. </div>
  18. <h3>Examples of treeNode</h3>
  19. <h4>1. Judge whether the first selected node's child nodes being loaded asynchronously</h4>
  20. <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
  21. var sNodes = treeObj.getSelectedNodes();
  22. if (sNodes.length > 0) {
  23. var isAjaxing = sNodes[0].isAjaxing;
  24. }
  25. </code></pre>
  26. </div>
  27. </div>