treeNode.name.html 1019 B

123456789101112131415161718192021222324252627
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>String</span><span class="path">treeNode.</span>name</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>The node's name</p>
  10. <p class="highlight_red">1. If you want to change 'name' attribute, please modify the
  11. 'setting.data.key.name' attribute.</p>
  12. <p>Default: undenfined</p>
  13. </div>
  14. </div>
  15. <h3>String Format</h3>
  16. <div class="desc">
  17. <p>String object. The HTML special characters are escaped</p>
  18. </div>
  19. <h3>Examples of treeNode</h3>
  20. <h4>1. Set node's name to 'test1', 'test2', 'test3'</h4>
  21. <pre xmlns=""><code>var nodes = [
  22. { "id":1, "name":"test1"},
  23. { "id":2, "name":"test2"},
  24. { "id":3, "name":"test3"}
  25. ]</code></pre>
  26. </div>
  27. </div>