I am trying to implement Ctrl+c for a cell value. The issue is :
→ I have used onKeyPress event which gets triggered on the first key I press. In this case, it’s ctrl key. I want to wait for user to press C and then only copy data to clipboard.
We are using v5.01.
Adding a screen shot of my code.
Unfortunately the clipboard operations can be implemented with the block selection only.
Thanks Sematik… But, I was able to do it with following code:
if (event.keyCode === 67 && event.ctrlKey)
Please do let me know if I did something wrong…
Could you please, clarify what browser you are using and provide a demo link.complete demo, where it can be reconstructed.
We are using IE to render the grid. Unfortunately, I don’t have a way to share a demo link. But, I can send it via email.
Please, try to place your onKeyPress event out of the onRowSelect event.
If the problem still occurs for you please, provide a demo link or a complete demo, where the problem can be reconstructed. (you may provide a link or a demo to me in the private messages)