Error returned by JSZip when exporting to Excel

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