The ext form load method loads data in the array format and cannot be a JSON object.
The data returned by the background must be in the collection format.
For example:
{Xtype: 'form', ID: 'Load _ Form', trackresetonload: True, border: false, bodystyle: 'padding: 10px 10px 10px ', labelwidth: 80, autoscroll: true, fileupload: True, Reader: New Ext. data. jsonreader ({root: 'object'}, [{Name: 'name', type: 'string'}, {Name: 'age', type: 'string '}, {Name: 'phone', type: 'string'}, {Name: 'address', type: 'string'}]), items: [{xtype: 'textfield ', fieldlabel: 'name', name: 'name'}, {xtype: 'textfield ', fieldlabel: 'age', name: 'age'}, {xtype: 'textfield ', fieldlabel: 'phone', name: 'phone'}, {xtype: 'textfield ', fieldlabel: 'address', name: 'address'}]}
Returned value: ObjectMust beCollectionData, such:JSONData, notJSONObject.
[{Name: '', age:'', phone: '', address:''}],But not{Name: '', age:'', phone: '', address :''}