examples/bootstrap/dashboard1.bjs.LP8DMX
authorAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 11:31:41 +0000 (19:31 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 11:31:41 +0000 (19:31 +0800)
examples/bootstrap/dashboard1.bjs
examples/bootstrap/dashboard1.js.LOBEMX
examples/bootstrap/dashboard1.js
examples/bootstrap/dashboard1.bjs.Q9DEMX
examples/bootstrap/dashboard1.js.HCKEMX
examples/bootstrap/dashboard1.bjs.SXRKMX
examples/bootstrap/dashboard1.js.X70KMX

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

index 2a33d91..742f850 100644 (file)
                                                                                             "* prop" : "store"
                                                                                         }
                                                                                     ]
+                                                                                },
+                                                                                {
+                                                                                    "String mode" : "local",
+                                                                                    "String name" : "combotest",
+                                                                                    "String valueField" : "item",
+                                                                                    "xtype" : "ComboBox",
+                                                                                    "String triggerAction" : "all",
+                                                                                    "Boolean editable" : false,
+                                                                                    "Boolean disabled" : true,
+                                                                                    "String fieldLabel" : "ComboBox disabled",
+                                                                                    "$ xns" : "Roo.bootstrap",
+                                                                                    "String/Roo.Template tpl" : "<li class=\"select2-result\"><b>{item}</b></div>",
+                                                                                    "String displayField" : "item",
+                                                                                    "items" : [
+                                                                                        {
+                                                                                            "$ Array fields" : "[ 'item' ]",
+                                                                                            "$ Array data" : "[ [ 'option a'] ,[ 'option b'] ]",
+                                                                                            "xtype" : "SimpleStore",
+                                                                                            "$ xns" : "Roo.data",
+                                                                                            "* prop" : "store"
+                                                                                        }
+                                                                                    ]
                                                                                 }
                                                                             ]
                                                                         }
index 4ae6edb..f7c89ab 100644 (file)
@@ -609,6 +609,29 @@ dashboard1 = new Roo.XComponent({
 
                                                                                     ]
 
+                                                                                },
+                                                                               {
+                                                                                    store : {
+                                                                                        fields : [ 'item' ],
+                                                                                        data : [ [ 'option a'] ,[ 'option b'] ],
+                                                                                        xtype : 'SimpleStore',
+                                                                                        xns : Roo.data
+                                                                                    },
+                                                                                    mode : 'local',
+                                                                                    name : 'combotest',
+                                                                                    valueField : 'item',
+                                                                                    xtype : 'ComboBox',
+                                                                                    triggerAction : 'all',
+                                                                                    editable : false,
+                                                                                    disabled : true,
+                                                                                    fieldLabel : 'ComboBox disabled',
+                                                                                    xns : Roo.bootstrap,
+                                                                                    tpl : '<li class=\"select2-result\"><b>{item}</b></div>',
+                                                                                    displayField : 'item',
+                                                                                    items : [
+
+                                                                                    ]
+
                                                                                 }
                                                                             ]