Help with bulk update from array

Im trying to do a bulk update from an array but i don't know how to set the value.

image

{{table6.selectedRow.data}} is my array, one of the columns in there is called 'Inside' and i want to set it to true for the SQL write.

Hi @rcanpolat Will every selected row be changed to true? Since you have multi-row selection on, your selectedRow.data should be an array. I'd recommend using .map() to loop through each row & set the value.

Here's an example:

Thank you. Pasting this here for refering back to in the future.

The 'ShortRun' column is also being removed from the array and the 'Inside' column is being set to true

{{table6.selectedRow.data.map(x => ({...((({ShortRun, ...rest}) => rest)(x)), Inside: true}))}}