Error returned by JSZip when exporting to Excel

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

    Posted 17 Aug 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
    2153 posts

    Posted 18 Aug 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. Kendo UI is VS 2017 Ready
Back to Top