Upgrade to ExtJS 3.0.3 - Released 10/11/2009
[extjs.git] / examples / tree / two-trees.html
1 <html>\r
2 <head>\r
3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
4 <title>Drag and Drop between 2 TreePanels</title>\r
5 <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />\r
6 \r
7     <!-- GC -->\r
8         <!-- LIBS -->\r
9         <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>\r
10         <!-- ENDLIBS -->\r
11 \r
12     <script type="text/javascript" src="../../ext-all.js"></script>\r
13 <script type="text/javascript" src="two-trees.js"></script>\r
14 \r
15 <!-- Common Styles for the examples -->\r
16 <link rel="stylesheet" type="text/css" href="../shared/examples.css" />\r
17 <style type="text/css">\r
18     #tree, #tree2 {\r
19         float:left;\r
20         margin:20px;\r
21         border:1px solid #c3daf9;\r
22         overflow:auto;\r
23     }\r
24     .folder .x-tree-node-icon{\r
25                 background:transparent url(../../resources/images/default/tree/folder.gif);\r
26         }\r
27         .x-tree-node-expanded .x-tree-node-icon{\r
28                 background:transparent url(../../resources/images/default/tree/folder-open.gif);\r
29         }\r
30     </style>\r
31 </head>\r
32 <body>\r
33 <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->\r
34 <h1>Drag and Drop betweens two TreePanels</h1>\r
35 <p>The TreePanels have a TreeSorter applied in "folderSort" mode.</p>\r
36 <p>Both TreePanels are in "appendOnly" drop mode since they are sorted.</p>\r
37 <p>Drag along the edge of the tree to trigger auto scrolling while performing a drag and drop.</p>\r
38 <p>The data for this tree is asynchronously loaded with a JSON TreeLoader.</p>\r
39 <p>The js is not minified so it is readable. See <a href="two-trees.js">two-trees.js</a>.</p>\r
40 \r
41 <div id="tree"></div>\r
42 <div id="tree2"></div>\r
43 \r
44 </body>\r
45 </html>