createFormContent: function () {
var me = this;
var result;
Ext.Ajax.request({
url: ‘{url controller="" action=""}’,
params: {
},
success: function (response) {
result = JSON.parse(response.responseText);
alert(result.count);
for (var i = 1; i <= result.count; i++) {
me.customField+i = Ext.create(‘Ext.form.field.Text’, {
name: ,
fieldLabel: ,
anchor: ‘95%’,
labelWidth: 150,
width: ‘95%’
});
}
}
});
},
Are you seriously expecting an answer when you are obviously even too lazy to write one complete sentence?
Good luck
1 „Gefällt mir“