how to get array of objects from store in extjs 4.2 and send it to server side?
Hiii all, I am using Extjs 4.2 data grid and i have a requirement to convert my 'store' into json array and send that to server side(i.e java). This is my model. Ext.define('Writer.Document',{ extend: 'Ext.data.Model', fields: ['id', 'name', 'notes', 'Type', 'date'] }); and my store (which contains list of objects) is var store = Ext.create('Ext.data.Store', { model: 'Writer.Document', autoLoad: true, proxy: { type: 'ajax', url : 'findPatientRecordAction', reader: { type: 'json', successProperty: 'success', root: 'prognosis', messageProperty: 'message' } fields: ['id','name', 'date', 'notes' ,