Author Topic: Copy Paste to and from excel by using buttons in the grid toolbar  (Read 2186 times)

kkhanal

  • Newbie
  • *
  • Posts: 3
    • View Profile
Hi,

I looked into the demo of Copy Paste to and from Excel by using the control keys. And it works like a charm.
 
However, is there a way to do the same without using control keys rather using a Copy and Paste buttons in the grid toolbar? I found the similar demo where copy/paste works between the two grids by using the copy/paste buttons. However, it does not work if we copy data from the grid and paste to Excel and vice versa.

Thanks,
KK

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Copy Paste to and from excel by using buttons in the grid toolbar
« Reply #1 on: April 13, 2017, 04:30:01 pm »
Clipboard can be accessed only with control keys in JavaScript. This is due to security restrictions by the browsers.

In the demo, copy paste by button is not based upon clipboard.