Is it possible to prevent pasting in spreadsheet?

2 posts, 0 answers
  1. Mark
    Mark avatar
    19 posts
    Member since:
    Dec 2010

    Posted 07 Aug 2019 Link to this post

    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?


  2. Ivan Danchev
    Ivan Danchev avatar
    2132 posts

    Posted 09 Aug 2019 Link to this post

    Hello Mark,

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

    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.
Back to Top