Roo/bootstrap/ComboBox.js
authorAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 09:14:35 +0000 (17:14 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 09:14:35 +0000 (17:14 +0800)
examples/bootstrap/dashboard1.bjs.IAPHMX
examples/bootstrap/dashboard1.bjs
examples/bootstrap/dashboard1.js.1F1FMX
examples/bootstrap/dashboard1.js

examples/bootstrap/dashboard1.bjs
examples/bootstrap/dashboard1.js

index 0e8a987..246ee43 100644 (file)
                                                                                             "xtype" : "Button",
                                                                                             "$ xns" : "Roo.bootstrap",
                                                                                             "String html" : "test",
-                                                                                            "* prop" : "before"
+                                                                                            "* prop" : "before",
+                                                                                            "items" : [
+                                                                                                {
+                                                                                                    "xtype" : "Menu",
+                                                                                                    "$ xns" : "Roo.bootstrap",
+                                                                                                    "* prop" : "menu"
+                                                                                                }
+                                                                                            ]
                                                                                         }
                                                                                     ]
                                                                                 }
index 51b7616..6407b43 100644 (file)
@@ -384,10 +384,18 @@ dashboard1 = new Roo.XComponent({
                                                                                 },
                                                                                {
                                                                                     before : {
+                                                                                        menu : {
+                                                                                            xtype : 'Menu',
+                                                                                            xns : Roo.bootstrap
+                                                                                        },
                                                                                         weight : 'primary',
                                                                                         xtype : 'Button',
                                                                                         xns : Roo.bootstrap,
-                                                                                        html : 'test'
+                                                                                        html : 'test',
+                                                                                        items : [
+
+                                                                                        ]
+
                                                                                     },
                                                                                     xtype : 'Input',
                                                                                     placeholder : 'before :  - an object...    ',