View Full Version : Serialize Grid/Store?

24 Aug 2011, 5:58 AM

Havent needed yall for a while, pretty much havent had any problems ...:)

Im wanting to serialize a grid into json for an ajax request submission. Im using a MapQuest API .

The entire grid must be converted to json then appended to a url. There are only 5-6 entries.

Is there some magic Extjs function that will do this?

Or is there a way to only copy certain fields out of a store to build an array. I can copy the whole grid

var records = []; store.each(function(r){ records.push(r.copy()); });But, is there a way to copy only certain fields?