setting.edit.drag.autoExpandTrigger.html 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>Boolean</span><span class="path">setting.edit.drag.</span>autoExpandTrigger</h2>
  4. <h3>Overview<span class="h3_info">[ depends on <span
  5. class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
  6. <div class="desc">
  7. <p></p>
  8. <div class="longdesc">
  9. <p>When drag node cause the parent node is automatically expanded, set whether to allow to trigger the
  10. 'onExpand' callback. It is valid when <span
  11. class="highlight_red">[setting.edit.enable = true]</span></p>
  12. <p>Default: false</p>
  13. </div>
  14. </div>
  15. <h3>Boolean Format</h3>
  16. <div class="desc">
  17. <p> true means: trigger the 'onExpand' callback.</p>
  18. <p> false means: don't trigger the 'onExpand' callback.</p>
  19. </div>
  20. <h3>Examples of setting</h3>
  21. <h4>1. Set to allow to trigger the 'onExpand' callback</h4>
  22. <pre xmlns=""><code>var setting = {
  23. edit: {
  24. enable: true,
  25. drag: {
  26. autoExpandTrigger: true
  27. }
  28. }
  29. };
  30. ......</code></pre>
  31. </div>
  32. </div>