Posted 5 October 2020, 4:09 am EST
Dear Wijmo team,
I’m using Pasting-Handler to check, whether the user is allowed to paste values into cells of a row.
It works fine, when I want to paste into a single selected cell.
let row = s.rows[e.row];
if(row.dataItem.isReadOnly) {
e.cancel = true;
}
If that cell is in a row that is readOnly, pasting is cancled.
But when I select cells from different rows and one single row is not readOnly, then the value gets pasted into every cell that is selected.
How can I apply the check to every cell that is selected?
Best regards
Moritz