Error returned by JSZip when exporting to Excel

8 posts, 0 answers
  1. David
    David avatar
    3 posts
    Member since:
    Apr 2008

    Posted 17 Aug 2016 Link to this post

    I'm getting the following console error when trying to manually export a grid to Excel:

    "Uncaught Error: This method has been removed in JSZip 3.0, please check the upgrade guide."

    Code to trigger export:

      function exportGrid() {
            var grid = $("#coingrid").data("kendoGrid");
            grid.saveAsExcel();
      }

    Should I revert to a 2.x version of JSZip, is there a work-around, or am I doing something wrong (most probable answer)? I'm using 2016.2 release of UI. Thanks.

  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2211 posts

    Posted 18 Aug 2016 Link to this post

    Hello David,

    Currently we are supporting Jszip version 2.6 and we are relying on the mentioned generate method. There is no workaround, that we could suggest, because indeed the method has been deprecated in version 3.0, so at the moment I would recommend to keep version 2.6.

    Regards,
    Dimiter Madjarov
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Jim
    Jim avatar
    1 posts
    Member since:
    Jun 2011

    Posted 16 Jan in reply to Dimiter Madjarov Link to this post

    Hello,

    Is there any documentation on the version of jszip that has been distributed with each version of UI for ASP.NET MVC or is it always 2.6? 

    I'm looking at kendo\2016.3.1118\jszip.min.js and I cannot figure out which version of jszip this file is.

    Thanks,

    Jim

  4. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2211 posts

    Posted 17 Jan Link to this post

    Hello Jim,

    Currently we don't have this information documented, so I will log this task for the documentation team.

    Regarding the version, all releases since mid 2016 use Jszip 2.6.

    Regards,
    Dimiter Madjarov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. Morten
    Morten avatar
    301 posts
    Member since:
    Jul 2012

    Posted 22 Mar Link to this post

    Hello Dimiter

    do you plan to support JSZip 3+ ?

    /Morten

  6. Morten
    Morten avatar
    301 posts
    Member since:
    Jul 2012

    Posted 22 Mar in reply to Morten Link to this post

    according to http://stuk.github.io/jszip/documentation/upgrade_guide.html the changes between v2 and v3 are smallish :-)
  7. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    621 posts

    Posted 23 Mar Link to this post

    Hi Morten,

    We have a logged issue in our GitHub repository on this subject:

    https://github.com/telerik/kendo-ui-core/issues/2316

    Any updates regarding introducing support for JsZip v. 3+ will be posted there, however I can share that providing such support is not in our immediate plans, as it will cause breaking changes in our excel export functionality.

    Regards,
    Dimiter Topalov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  8. Morten
    Morten avatar
    301 posts
    Member since:
    Jul 2012

    Posted 23 Mar in reply to Dimiter Topalov Link to this post

    Thanks Dimiter 
Back to Top