Can you configure a combo with inline data?
Hi,
Is it possible to configure a combo box in Ext Designer using in-line array data for the store property?
I just need a combo with 'True' and 'False' as options, and see you can use an inline array according to the ExtJS docs (v3.4). I had a go at setting this up in designer, generated code is below.
Code:
MyCombo19Ui = Ext.extend(Ext.form.ComboBox, {
width: 100,
cellCls: 'configFieldCell',
store: '[\'True\',\'False\']',
mode: 'local',
triggerAction: 'all',
allowBlank: false,
initComponent: function() {
MyCombo19Ui.superclass.initComponent.call(this);
}
});
When I try and run the code that uses this combo box I get an error from the Extjs source code as follows:
Code:
this.store is undefined
http://localhost:8080/ext-3.3.1/ext-all-debug.js
Line 41111
Thanks.