PageRenderTime 22ms CodeModel.GetById 15ms app.highlight 5ms RepoModel.GetById 0ms app.codeStats 0ms

/ext-4.0.7/examples/tree/reorder.html

https://bitbucket.org/srogerf/javascript
HTML | 23 lines | 20 code | 2 blank | 1 comment | 0 complexity | 66a183174a784ff080f1e5b82d800c8c MD5 | raw file
 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2<html>
 3<head>
 4<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 5    <title>Tree Example</title>
 6    <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
 7    <link rel="stylesheet" type="text/css" href="../shared/example.css" />
 8
 9    <script type="text/javascript" src="../../bootstrap.js"></script>
10    <script type="text/javascript" src="reorder.js"></script>
11</head>
12<body>
13    <h1>Drag and Drop ordering in a TreePanel</h1>
14    <p>This example shows basic drag and drop node moving in a tree. In this implementation there are no restrictions and 
15    anything can be dropped anywhere except appending to nodes marked "leaf" (the files).</p>
16    <!-- <p>Drag along the edge of the tree to trigger auto scrolling while performing a drag and drop.</p> -->
17    <p>In order to demonstrate drag and drop insertion points, sorting was <b>not</b> enabled.</p>
18    <p>The data for this tree is asynchronously loaded through a TreeStore and AjaxProxy.</p>
19    <p>The js is not minified so it is readable. See <a href="reorder.js">reorder.js</a>.</p>
20
21    <div id="tree-div"></div>
22</body>
23</html>