This is a migrated thread and some comments may be shown as answers.
Calling fromJSON causes error on copy/paste
1 Answer 9 Views
This is a migrated thread and some comments may be shown as answers.
B Jones
Top achievements
Rank 1
B Jones asked on 30 Aug 2018, 09:42 PM

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

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 03 Sep 2018, 11:38 AM
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.
Asked by
B Jones
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or