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
9 <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
\r
12 <script type="text/javascript" src="../../ext-all.js"></script>
\r
13 <script type="text/javascript" src="two-trees.js"></script>
\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
21 border:1px solid #c3daf9;
\r
25 .folder .x-tree-node-icon{
\r
26 background:transparent url(../../resources/images/default/tree/folder.gif);
\r
28 .x-tree-node-expanded .x-tree-node-icon{
\r
29 background:transparent url(../../resources/images/default/tree/folder-open.gif);
\r
34 <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->
\r
35 <h1>Drag and Drop betweens two TreePanels</h1>
\r
36 <p>The TreePanels have a TreeSorter applied in "folderSort" mode.</p>
\r
37 <p>Both TreePanels are in "appendOnly" drop mode since they are sorted.</p>
\r
38 <p>Drag along the edge of the tree to trigger auto scrolling while performing a drag and drop.</p>
\r
39 <p>The data for this tree is asynchronously loaded with a JSON TreeLoader.</p>
\r
40 <p>The js is not minified so it is readable. See <a href="two-trees.js">two-trees.js</a>.</p>
\r
42 <div id="tree"></div>
\r
43 <div id="tree2"></div>
\r