SlickGrid icon indicating copy to clipboard operation
SlickGrid copied to clipboard

Copy all records at once / copy records with headers

Open dcisson opened this issue 13 years ago • 4 comments

Is there any way to easily copy all grid rows as opposed to only copying those cells selected, and beyond that, is there a way to also copy the grid column headers with the data? This would provide better functionality transitioning SlickGrid data completely into a spreadsheet such as Excel

dcisson avatar Nov 07 '12 22:11 dcisson

This definitely needs to happen eventually since if the grid is bigger than your screen, you can only select one screenful (Because you can't scroll while clicking and dragging).

I will need to write this eventually if no one else does. I can't give a timeline though.

mplorentz avatar Feb 21 '13 13:02 mplorentz

Do you mean an implementation of something like "select all" ctrl+A ? This is more about a new selectionModel. If you have a way to select all data my plugin will be able to copy/paste from/to them. Except the header, I don't know how to handle the header correctly because it is not a part of the grid data

Celebio avatar Feb 21 '13 14:02 Celebio

Shoot, that is a big limitation of the selectionModel. Ctrl-a functionality is what I was thinking of.

mplorentz avatar Feb 21 '13 14:02 mplorentz

Did anyone manage to find a workaround to this?

HardlyMirage avatar Jul 17 '14 18:07 HardlyMirage