Intercepting Paste Event #248
Unanswered
austinbhodge
asked this question in
Q&A
Replies: 1 comment
-
Just saw discussion #165, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello and thank you all contributors and @anmcgrath for a really awesome library,
I am having some difficulties manipulating the paste interaction.
In the
DataSheet.Razor.cs
there is the HandleWindowPaste callback that gets registered with theWindowEventService
and when the paste is a range (separated by new line, which occurs when you copy cells) it automatically tries to insert the paste with the split rangeline ~713
Is there anyway I can override or hook into the logic?
sidenote: when pasting more cells than exist in the sheet, there is an index out of bounds error as well.
Beta Was this translation helpful? Give feedback.
All reactions