I would like to allow pasting by tab separated data into an ag-grid column rather than a row. Right now, newline separated data will paste into columns and tab separated data will paste into rows. The documentation mentions a "clipboardDeliminator" field of the GridOptions for changing the delimiter for pasting into rows, but that does not seem to apply to columns. Is there any way to have both tab and newline separated data automatically paste into columns?
Asked
Active
Viewed 374 times
1 Answers
0
Not unless you edit the source code. The function you would need to look for is ClipboardService.prototype.dataToArray
which is taken directly from this answer. There are a number of ways that this function could be edited, it mostly depends on how you are expecting the data to be pasted into your table.
You could also suggest an enhancement on their github page.

Jarod Moser
- 7,022
- 2
- 24
- 52