Calling fromJSON causes error on copy/paste

2 posts, 0 answers
  1. B Jones
    B Jones avatar
    14 posts
    Member since:
    Jun 2010

    Posted 30 Aug 2018 Link to this post

    Cut/Copy/Paste buttons stop working after fromJSON is called on a kendoSpreadsheet.

    Instead, a JavaScript error occurs: "Error: Unable to get property 'clipboard' of undefined or null reference"

    This is due to spreadsheet._workbook._view being undefined. It appears that this happens when fromJSON is called, as it is defined prior to that call.

     

    This can be replicated in the example for the fromJSON function. Note that the Cut/Copy/Paste buttons are non-functional:

    https://dojo.telerik.com/uQAQUxEB

     

    Is there a solution to this issue?

     

    Thanks

  2. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    1201 posts

    Posted 03 Sep 2018 Link to this post

    Hi Brett,

    The observed issue in the Spreadsheet widget functionality is a know bug, that has been recently fixed. The next official version of Kendo (R3 2018), which is due in mid September, will include that fix. Therefore, I would recommend you to upgrade the Kendo version in your project as soon as the new version is available.

    Regards,
    Veselin Tsvetanov
    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