This is a migrated thread and some comments may be shown as answers.
Is it possible to prevent pasting in spreadsheet?
1 Answer 4 Views
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 08 Aug 2019, 01:56 AM

I would like to prevent users from being able to paste in my spreadsheet.  They should be able to type directly in cells, however.  Is this possible?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 09 Aug 2019, 03:21 PM
Hello Mark,

To prevent the users from pasting in the Spreadsheet, handle the paste event and call e.preventDefault() in its handler: dojo example.

Regards,
Ivan Danchev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Asked by
Mark
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or