Sending invalid row data

We have a grid which we are sending data in one send via DataProcessor to our server side code. If, for example, we send 10 rows of new data and our server side validation considers all the data as invalid we are sending back a custom response of “error” via DataProcessor to display the message to the users. Our XML response is as per the documentation for errors.

However, without changing the data in the grid rows, the grid will not resend any of the invalid data rows without us editing these rows. The data in the rows is still marked in bold but I cannot see a way of marking the rows so that they get sent again in the next request without having the user editing them.

For sanity sake, our project requires at least one row to have a value of 1 in one of the columns, and if say 10 rows were sent without the value appearing it marks them all as invalid. As soon as the user changes one of the rows to contain that value the server code would pass the rest as valid.

Is there anyway in which I can mark these rows to resend?

Please, try to use:

dp.setUpdated(rowId,true);