From: Alan Knowles Date: Thu, 11 Sep 2014 11:31:41 +0000 (+0800) Subject: examples/bootstrap/dashboard1.bjs.LP8DMX X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=3e9602f3b5966a4e9ae72f79cf95cb28a59c183e;p=roojs1 examples/bootstrap/dashboard1.bjs.LP8DMX 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 --- diff --git a/examples/bootstrap/dashboard1.bjs b/examples/bootstrap/dashboard1.bjs index 2a33d918a7..742f850a23 100644 --- a/examples/bootstrap/dashboard1.bjs +++ b/examples/bootstrap/dashboard1.bjs @@ -568,6 +568,28 @@ "* 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" : "
  • {item}", + "String displayField" : "item", + "items" : [ + { + "$ Array fields" : "[ 'item' ]", + "$ Array data" : "[ [ 'option a'] ,[ 'option b'] ]", + "xtype" : "SimpleStore", + "$ xns" : "Roo.data", + "* prop" : "store" + } + ] } ] } diff --git a/examples/bootstrap/dashboard1.js b/examples/bootstrap/dashboard1.js index 4ae6edb52a..f7c89abb59 100644 --- a/examples/bootstrap/dashboard1.js +++ b/examples/bootstrap/dashboard1.js @@ -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 : '
  • {item}', + displayField : 'item', + items : [ + + ] + } ]