i have used backgridjs and i am able to populate values to grid. but when i want to send the existing values from UI to server it works fine but if i delete all the records available in grid and create new record(s) and collect all the values available in grid and put them in model like
get the total no of rows
iterate one rows
put the rows data in to a model
iterate till end of the row and put them in a collection.
Please help me to get this done.