examples/bootstrap/nested.js
authorAlan Knowles <alan@roojs.com>
Fri, 30 Nov 2018 05:46:57 +0000 (13:46 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 30 Nov 2018 05:46:57 +0000 (13:46 +0800)
examples/bootstrap/nested.js

index 7f4a128..e8506c0 100644 (file)
@@ -139,24 +139,28 @@ Example.Nested = new Roo.XComponent({
                             }
                         },
                     toolbar : {
-                         xtype: 'NavGroup',
-                       xns: Roo.bootstrap,
-                       items : [
-                           {
-                               xtype: 'NavItem',
-                               xns: Roo.bootstrap,
-                               html: 'a button'
-                               
-                           },
-                           {
-                               xtype: 'Input',
-                               xns: Roo.bootstrap,
-                               placeholder: 'a text input'
-                               
-                           }
-                       ]
-                   
-               
+                        xtype: 'NavSimplebar',
+                        xns : Roo.bootstrap,
+                        items: [
+                            {
+                                xtype: 'NavGroup',
+                                xns: Roo.bootstrap,
+                                items : [
+                                    {
+                                        xtype: 'NavItem',
+                                        xns: Roo.bootstrap,
+                                        html: 'a button'
+                                        
+                                    },
+                                    {
+                                        xtype: 'Input',
+                                        xns: Roo.bootstrap,
+                                        placeholder: 'a text input'
+                                        
+                                    }
+                                ]
+                            }
+                        ]
                         
                     },
                     grid : {