Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

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