Cycle through all rows

Feb 13, 2014 at 1:48 PM
I understand how to get the data from a selected row but is there a way to cycle through all rows?

What I have is a grid with a drop down on every row. The user i supposed to make a selection on all of these. I then want to cycle through all the rows and put them into a json string which will be sent to an api controller that will use the json to update a database.

The part i don't know how to do is cycle through all the grid rows.... is it even possible?
Coordinator
Feb 15, 2014 at 10:25 AM
Hi,

You can get all dropdown selected values easy with javascript. Please see - https://gridmvc.codeplex.com/discussions/528197
Then you can send data to controller using ajax request.
Feb 19, 2014 at 3:23 PM
Yea that works, thank you.