Modify multiple rows in one step (reload old data if canceled)
in my prototype I have a data grid filled with data from master data. With an edit button two columns of the data grid will be opend for editing data directly in the grid. For every editable column I added a column in the master data to save the old values if they have been changed. The old values are stored on the first onChange event by executing modify. This all works fine for every row and column. I tested by displaying the result in an input field.
But I am not able to restore the old values when clicking on the cancel button. The cancel button should copy the temporary stored old values back into the original columns, but I didn't find any way. Either nothing happens or all data from the whole column is stored back to original column.
I hope somebody has a solution for my problem.