PDA

View Full Version : Getting grid data back as json



jayeshpk1
13 Jun 2007, 6:51 PM
I am trying to get the grid as json record using the below code
var json = Ext.util.JSON.encode(partsDS.proxy.data);

I have added some records to the store partsDS using add method after the initial load. I don't see the new data I added to the partsDS in json.

Thank you.

Animal
13 Jun 2007, 10:58 PM
http://extjs.com/deploy/ext-1.1-beta1/docs/output/Ext.data.JsonReader.html#jsonData

jayeshpk1
16 Jun 2007, 12:27 PM
Thanks Animal.