zTreeObj.refresh.html 947 B

123456789101112131415161718192021222324
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>Function()</span><span class="path">zTreeObj.</span>refresh</h2>
  4. <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
  5. <div class="desc">
  6. <p></p>
  7. <div class="longdesc">
  8. <p>Refresh zTree</p>
  9. <p class="highlight_red">If you have no special need, try not to use this method. If you refresh single node, please use updateNode() method. If you refresh child nodes in dynamic mode, please use the reAsyncChildNodes() method.</p>
  10. <p class="highlight_red">Please use zTree object to executing the method.</p>
  11. </div>
  12. </div>
  13. <h3>Function Parameter Descriptions</h3>
  14. <div class="desc">
  15. <h4><b>Return </b><span>none</span></h4>
  16. <p>no return value</p>
  17. </div>
  18. <h3>Examples of function</h3>
  19. <h4>1. refresh zTree </h4>
  20. <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
  21. treeObj.refresh();
  22. </code></pre>
  23. </div>
  24. </div>