Submit all of grid rows with Extjs form submit
问题 I have a grid panel in a form. Any row of the grid panel have a filefield. I want to send any row (name field and filename field) to server. Model : Ext.define('FM.model.DefineCode', { extend: 'Ext.data.Model', fields: [ {name: 'id', type: 'int'}, {name: 'name', type: 'string'}, {name: 'filename', type: 'string'} ], validations: [ {type: 'presence', field: 'id'}, {type: 'presence', field: 'name'}, {type: 'presence', field: 'filename'} ] }); Store: Ext.define('FM.store.DefineCode', { extend: