View Full Version : How send several grid records in 1 Ajax Json request.

18 Jan 2012, 12:40 AM

I have created a grid with a checkbox column, as in the example
(Grid Plugins - grid 4) - the CheckboxModel has selectionchange
How do send all of the selected records to the server in 1 ajax,
json request? Is there an example?
With one record I could do record.save()...

I shall create a json writer and an ajax proxy on the model/store.

Thank you,

18 Jan 2012, 6:20 AM
If you can get a list of the records you want I would iterate over them and build an array of objects and then send in an ajax call