X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/docs/source/reorder.html diff --git a/docs/source/reorder.html b/docs/source/reorder.html new file mode 100644 index 00000000..cde2c4ec --- /dev/null +++ b/docs/source/reorder.html @@ -0,0 +1,35 @@ + + + The source code + + + + +
Ext.onReady(function(){
+    // shorthand
+    var Tree = Ext.tree;
+
+    var tree = new Tree.TreePanel({
+        useArrows: true,
+        autoScroll: true,
+        animate: true,
+        enableDD: true,
+        containerScroll: true,
+        border: false,
+        // auto create TreeLoader
+        dataUrl: 'get-nodes.php',
+
+        root: {
+            nodeType: 'async',
+            text: 'Ext JS',
+            draggable: false,
+            id: 'src'
+        }
+    });
+
+    // render the tree
+    tree.render('tree-div');
+    tree.getRootNode().expand();
+});
+ + \ No newline at end of file