sandeep45
26 Aug 2011, 10:42 AM
when i add a single record to the store and do a store.sync() it sends the JSON with the records array, although I have only added one record. It looks like this:
{"records":[{"body":"sadas","id":""}]}
how can i have sencha touch send the json with an object. i would like it to look like this
{"body":"sadas","id":""}
I realize this could be done in sencha / extjs 4.0 by having singleSelect:true, but how do i do this in sencha touch?
{"records":[{"body":"sadas","id":""}]}
how can i have sencha touch send the json with an object. i would like it to look like this
{"body":"sadas","id":""}
I realize this could be done in sencha / extjs 4.0 by having singleSelect:true, but how do i do this in sencha touch?