18 Jan 2012 12:40 AM #1
Unanswered: How send several grid records in 1 Ajax Json request.
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.
18 Jan 2012 6:20 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
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 callMitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.