Add the same value / other grid

Hello.
The contents of the selected cell in grid 1
I’d like to add the same to grid 2.

I understand that you can use ‘grid.add.data’, but how can you get that value at once?

Please, try to use something like:

let value = grid1.data.getItem(rowId).colId;
grid2. data.update(rowId, { colId: value });

to update a specific cell.
Or

let row = grid1.data.getItem(rowId);
grid2.data.add(row);

to add the similar row