X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/docs/source/column-tree.html diff --git a/docs/source/column-tree.html b/docs/source/column-tree.html new file mode 100644 index 00000000..c52d955d --- /dev/null +++ b/docs/source/column-tree.html @@ -0,0 +1,44 @@ + + + The source code + + + + +
Ext.onReady(function(){
+    var tree = new Ext.ux.tree.ColumnTree({
+        width: 550,
+        height: 300,
+        rootVisible:false,
+        autoScroll:true,
+        title: 'Example Tasks',
+        renderTo: Ext.getBody(),
+
+        columns:[{
+            header:'Task',
+            width:330,
+            dataIndex:'task'
+        },{
+            header:'Duration',
+            width:100,
+            dataIndex:'duration'
+        },{
+            header:'Assigned To',
+            width:100,
+            dataIndex:'user'
+        }],
+
+        loader: new Ext.tree.TreeLoader({
+            dataUrl:'column-data.json',
+            uiProviders:{
+                'col': Ext.ux.tree.ColumnNodeUI
+            }
+        }),
+
+        root: new Ext.tree.AsyncTreeNode({
+            text:'Tasks'
+        })
+    });
+});
+ + \ No newline at end of file