X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..ddde20c4d4ac6a8d53de079761155de813845b3c:/examples/tree/reorder.js?ds=sidebyside diff --git a/examples/tree/reorder.js b/examples/tree/reorder.js index 03fcaa7c..6f0464fc 100644 --- a/examples/tree/reorder.js +++ b/examples/tree/reorder.js @@ -1,35 +1,32 @@ -/* - * Ext JS Library 2.2.1 - * Copyright(c) 2006-2009, Ext JS, LLC. - * licensing@extjs.com - * - * http://extjs.com/license - */ - -Ext.onReady(function(){ - // shorthand - var Tree = Ext.tree; - - var tree = new Tree.TreePanel({ - el:'tree-div', - useArrows:true, - autoScroll:true, - animate:true, - enableDD:true, - containerScroll: true, - - // auto create TreeLoader - dataUrl: 'get-nodes.php', - - root: { - nodeType: 'async', - text: 'Ext JS', - draggable:false, - id:'source' - } - }); - - // render the tree - tree.render(); - tree.getRootNode().expand(); +/*! + * Ext JS Library 3.2.0 + * Copyright(c) 2006-2010 Ext JS, Inc. + * licensing@extjs.com + * http://www.extjs.com/license + */ +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