Create Multiple Comboboxes dynamically in ExtJS 3.0
问题 i am trying to create a comboBox on a form inside a for loop but i am unable to do so, can someone help? i found this code on stackoverflow however this doesn't seem to work on my version of EXTJS which is 3.3 stackoverflow code: for (var i=0; i < 8; i++) { Ext.create('Ext.form.ComboBox', { fieldLabel: 'Combobox '+i, store: ['Option1','Option2'], //better to use a dynamic store renderTo: Ext.getBody() }); }; My Code: var questionStore2 = null; example.SurveyFieldDefaultWindow = Ext.extend(Ext