bb1f745cf628cc78a7848434e630c8fabdb848fe.svn-base 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  4. <title>Reorder TreePanel</title>
  5. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  6. <!-- GC -->
  7. <!-- LIBS -->
  8. <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
  9. <!-- ENDLIBS -->
  10. <script type="text/javascript" src="../../ext-all.js"></script>
  11. <script type="text/javascript" src="reorder.js"></script>
  12. <!-- Common Styles for the examples -->
  13. <link rel="stylesheet" type="text/css" href="../examples.css" />
  14. </head>
  15. <body>
  16. <script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
  17. <h1>Drag and Drop ordering in a TreePanel</h1>
  18. <p>This example shows basic drag and drop node moving in a tree. In this implementation there are no restrictions and
  19. anything can be dropped anywhere except appending to nodes marked "leaf" (the files).</p>
  20. <p>Drag along the edge of the tree to trigger auto scrolling while performing a drag and drop.</p>
  21. <p>In order to demonstrate drag and drop insertion points, sorting was <b>not</b> enabled.</p>
  22. <p>The data for this tree is asynchronously loaded with a JSON TreeLoader.</p>
  23. <p>The js is not minified so it is readable. See <a href="reorder.js">reorder.js</a>.</p>
  24. <div id="tree-div" style="overflow:auto; height:300px;width:250px;border:1px solid #c3daf9;"></div>
  25. </body>
  26. </html>