docs/Roo.docs.init.js
authorAlan Knowles <alan@roojs.com>
Sun, 13 Jan 2019 03:08:24 +0000 (11:08 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 13 Jan 2019 03:08:24 +0000 (11:08 +0800)
docs/Roo.docs.init.js

index 29577d9..42894e7 100644 (file)
@@ -312,15 +312,40 @@ Roo.docs.init = {
         
         for(var i = 0; i < tree.cn.length; i++) {
             // make a container..
-            var container = Roo.factory({
-                title : tree.cn[i].name,
+            var treei = tree.cn[i];
+            var ctree = {
+                title : treei.name,
                 xtype : 'Container',
                 panel : 'info',
                 xns : Roo.bootstrap,
-            })
+                md:3.
+                items : [];
+            };
+            for(var i = 0; i < treei.cn.length; i++) {
+                // another container..
+                   var ctreei = {
+                        title : treei.name,
+                        xtype : 'Container',
+                        panel : 'primary',
+                        xns : Roo.bootstrap,
+                        md:3.
+                        items : [
+                             
+                                xtype : 'Element',
+                                tag :'ul',
+                               
+                                xns : Roo.bootstrap,
+                               
+                        ];
+                    };
+                    ctree.items[0].push(ctreei);
+            
             
+            Roo.docs.introBody.addxtypeChild(ctree);
         }
         
+        
+        
     }