react-spreadsheet icon indicating copy to clipboard operation
react-spreadsheet copied to clipboard

Paste single cell value into multiple cells

Open cpv123 opened this issue 5 years ago • 3 comments

Hey @iddan 👋

Any idea how difficult it would be to allow a single cell value to be copied and then pasted into multiple (highlighted) cells?

For example:

  1. Copy a single cell
  2. Highlight a range of cells
  3. Paste
  4. Have the single cell value pasted into each highlighted cell
Screen Shot 2564-02-26 at 17 19 52 Screen Shot 2564-02-26 at 17 20 03

If you don't see any immediate issues with implementing this, I will give it a try myself and raise a PR. I guess that this would be a good place for me to start? https://github.com/iddan/react-spreadsheet/blob/master/src/actions.ts#L138

cpv123 avatar Feb 26 '21 10:02 cpv123

Hey @cpv123 , it shouldn't be very difficult. You are correct. This would be the right place to start

iddan avatar Feb 28 '21 09:02 iddan

I would love to have this functionality as well! as well as just the general semantics and behavior of copy pasting cells familiar to Excel and Google Sheets. maybe can help with this if there isn't movement.

osdiab avatar Oct 26 '21 23:10 osdiab

Is there any update about this? It feels like one of core functions of spreadsheet that is missing here

dominik-zeglen avatar May 16 '22 12:05 dominik-zeglen

Is there any update about this?

Lucas-Bezerra-Santos avatar Aug 15 '23 15:08 Lucas-Bezerra-Santos