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