"* prop" : "store"
}
]
+ },
+ {
+ "String mode" : "local",
+ "String name" : "combotest",
+ "String valueField" : "item",
+ "xtype" : "ComboBox",
+ "String triggerAction" : "all",
+ "Boolean editable" : false,
+ "String fieldLabel" : "ComboBox",
+ "$ 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"
+ }
+ ]
}
]
}
]
+ },
+ {
+ 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,
+ fieldLabel : 'ComboBox',
+ xns : Roo.bootstrap,
+ tpl : '<li class=\"select2-result\"><b>{item}</b></div>',
+ displayField : 'item',
+ items : [
+
+ ]
+
}
]