Web Interface For Lite Argus Control modules
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Reorder TreePanel</title><link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
<!-- GC --> <!-- LIBS --> <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script> <!-- ENDLIBS -->
<script type="text/javascript" src="../../ext-all.js"></script><script type="text/javascript" src="reorder.js"></script>
<!-- Common Styles for the examples --><link rel="stylesheet" type="text/css" href="../shared/examples.css" /></head><body><script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES --><h1>Drag and Drop ordering in a TreePanel</h1><p>This example shows basic drag and drop node moving in a tree. In this implementation there are no restrictions and anything can be dropped anywhere except appending to nodes marked "leaf" (the files).</p><p>Drag along the edge of the tree to trigger auto scrolling while performing a drag and drop.</p><p>In order to demonstrate drag and drop insertion points, sorting was <b>not</b> enabled.</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="reorder.js">reorder.js</a>.</p>
<div id="tree-div" style="overflow:auto; height:300px;width:250px;border:1px solid #c3daf9;"></div>
</body></html>
|