I was using the dataprocessor with grid sending one row at a time, and have changed my server-side code to accept a post of all data at once. Here is the js configuration:
g_dataprocessor.enableDataNames(true);
g_dataprocessor.setUpdateMode(“off”);
g_dataprocessor.setTransactionMode(“POST”, true);
Everything is almost working fine - server side I am receiving and storing the data. The problem is I don’t know what to return back to the grid so it will mark the fields as saved. I tried returning an sid and tid that are the same as those sent by the control in the ids value (comma separated row IDs) but that is not working.
In case of single row updated you need to return someting similar to next
In case of multiple row updates you need to return same structure for all rows
…
Bingo - works like a charm. Thanks!