Batch editing of rows Jon (LabKey DevOps)  2015-03-30 11:33
Status: Closed
 
Hi Mark,

Although we don't have any example code, to pull off batch editing the way you describe, you would have to have your code do the following:

1. Collect the specific ID numbers of the rows that you want to edit and save them in an array.
2. Have your code only identify fields that you want to update.
3. Have your code then use the javascript API to do an updateRows (https://www.labkey.org/download/clientapi_docs/javascript-api/symbols/LABKEY.Query.html#.updateRows) or saveRows (https://www.labkey.org/download/clientapi_docs/javascript-api/symbols/LABKEY.Query.html#.saveRows) on a loop, using the array from earlier.

Does this make sense?

Regards,

Jon