two-trees.html 1.1 KB

12345678910111213141516171819202122232425262728
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  4. <title>Drag and Drop between 2 TreePanels</title>
  5. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  6. <link rel="stylesheet" type="text/css" href="../shared/example.css" />
  7. <!-- GC -->
  8. <script type="text/javascript" src="../../ext-all.js"></script>
  9. <script type="text/javascript" src="two-trees.js"></script>
  10. <script type="text/javascript" src="../shared/examples.js"></script>
  11. <style type="text/css">
  12. #tree, #tree2 {
  13. float: left;
  14. margin: 20px;
  15. }
  16. </style>
  17. </head>
  18. <body>
  19. <h1>Drag and Drop betweens two TreePanels</h1>
  20. <p>The TreePanels have a TreeSorter applied in "folderSort" mode.</p>
  21. <p>Both TreePanels are in "appendOnly" drop mode since they are sorted.</p>
  22. <p>Drag along the edge of the tree to trigger auto scrolling while performing a drag and drop.</p>
  23. <p>The data for this tree is asynchronously loaded with a JSON TreeLoader.</p>
  24. <p>The js is not minified so it is readable. See <a href="two-trees.js">two-trees.js</a>.</p>
  25. </body>
  26. </html>