setting.data.key.title.html 841 B

123456789101112131415161718192021222324
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>String</span><span class="path">setting.data.key.</span>title</h2>
  4. <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
  5. <div class="desc">
  6. <p></p>
  7. <div class="longdesc">
  8. <p>zTree 节点数据保存节点提示信息的属性名称。<span class="highlight_red">[setting.view.showTitle = true 时生效]</span></p>
  9. <p class="highlight_red">如果设置为 "" ,则自动与 setting.data.key.name 保持一致,避免用户反复设置</p>
  10. <p>默认值:""</p>
  11. </div>
  12. </div>
  13. <h3>setting 举例</h3>
  14. <h4>1. 设置 zTree 显示节点时,将 treeNode 的 fullName 属性当做节点名称</h4>
  15. <pre xmlns=""><code>var setting = {
  16. data: {
  17. key: {
  18. title: "fullName"
  19. }
  20. }
  21. };
  22. ......</code></pre>
  23. </div>
  24. </div>