From 957a36dd951695dbc00d708d9f7c2d9891094cb2 Mon Sep 17 00:00:00 2001 From: Vildan Softic Date: Mon, 5 Feb 2024 20:57:35 +0100 Subject: [PATCH 1/8] fix: provide row and cell to copy key handler --- .../vite-demo-vanilla-bundle/src/examples/example19.html | 6 ++++-- .../vite-demo-vanilla-bundle/src/examples/example19.ts | 8 ++++++++ .../common/src/extensions/slickCellExcelCopyManager.ts | 4 ++-- .../common/src/extensions/slickCellExternalCopyManager.ts | 6 +++--- .../src/interfaces/excelCopyBufferOption.interface.ts | 2 +- 5 files changed, 18 insertions(+), 8 deletions(-) diff --git a/examples/vite-demo-vanilla-bundle/src/examples/example19.html b/examples/vite-demo-vanilla-bundle/src/examples/example19.html index 95581f7d2..759f9ac72 100644 --- a/examples/vite-demo-vanilla-bundle/src/examples/example19.html +++ b/examples/vite-demo-vanilla-bundle/src/examples/example19.html @@ -18,8 +18,10 @@

- Grid - using enableExcelCopyBuffer which uses SlickCellSelectionModel
- The complete first row and the cells C - E of the second row are not allowing to paste values. +

Grid - using enableExcelCopyBuffer which uses SlickCellSelectionModel

+

The complete first row and the cells C - E of the second row are not allowing to paste values.

+

Additionally the columns are configured to exportWithFormatter and a custom formatter that renders the cells coordinates or value if available. + When selecting one or more cells and pressing CTRL + C, the ExcelCopyBuffer will be filled with the formatter outputs of the selected cells.