Spreadsheet - a problem with fromFile function and JSZip library

2 posts, 1 answers
  1. George
    George avatar
    3 posts
    Member since:
    Apr 2020

    Posted 09 Apr 2020 Link to this post


    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".

  2. Answer
    Veselin Tsvetanov
    Veselin Tsvetanov avatar
    1230 posts

    Posted 13 Apr 2020 Link to this post

    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.

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