treeNode.name.html 825 B

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