View Full Version : How add request id

17 Jan 2014, 2:32 AM
hello i am want sent to server data in json format and this my data

var request = {
bookId: grid.getBookId(),,
info: [] }
store.each(function(rec, index, length) {
request.info.push({requestId:rec.get('???'), authorId: rec.get('authorId'), price: rec.get('price')});

i have data for bookId,authorId,price, where i am want get request id, thanks

17 Jan 2014, 4:29 AM
requestId: index is what I need :)