This is a migrated thread and some comments may be shown as answers.
Spreadsheet - a problem with fromFile function and JSZip library
1 Answer 13 Views
This is a migrated thread and some comments may be shown as answers.
George
Top achievements
Rank 1
George asked on 09 Apr 2020, 10:19 AM

Hello,

I'm experiencing the following error, when I try to use "fromFile" function to load the data for a spreadsheet component from an excel file:

"The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide."

The problem seems to be in the version of JSZip library, which the component uses. I manually changed the version of  "JSZip" script to 2.6 and it works fine, but I want to know how to do it using the latest version of the spreadsheet component and the latest version of "JSZip". I used the same file in the demo page in your site and it works fine there. The version of kendo is "2020.1.406".

1 Answer, 1 is accepted

Sort by
0
Accepted
Veselin Tsvetanov
Telerik team
answered on 13 Apr 2020, 07:02 AM

Hello George,

The Spreadsheet widget functionality does not offer support for JSZip 3. Having that said, in order to benefit from the import/export functions of the Spreadsheet, you will need to use JSZip 2.x.

Regards,
Veselin Tsvetanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Asked by
George
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or