Error when running saveAsExcel() : uncaught Error: JSZip not found.

2 posts, 0 answers
  1. Bryan
    Bryan avatar
    14 posts
    Member since:
    Feb 2016

    Posted 02 Nov 2016 Link to this post



    I am trying to export data from my grid to Excel. 

    For my button I am using the following code, as I don't have the buttons in a toolbar.


    <button id="btnExport">Export to Excel</button>
    <script> $("#btnExport").kendoButton({
    click: function() { 


    and on the grid I have the following (truncated)

    // Grid
    grid = $("#grid").kendoGrid( {
              fileName: "PC Inventory All.xlsx",

    The error message that I receive is "uncaught Error: JSZip not found."

    I have included this file, or at least I thought that I have. I am running Xpages (JSP in essence) and my theme includes the following resources:







    I see all of these resources in the Sources tab of Chrome Dev tools, but I also see several multiple defines - one of which seems to be doing something with a dojo library. 

    I am at a loss, any help would be much appreciated.


  2. Stefan
    Stefan avatar
    2241 posts

    Posted 04 Nov 2016 Link to this post

    Hello Bryan,

    This is not a known issue, but I found a similar one for loading JsZip with XPages, and I can suggest checking if the workaround will work in your scenario:

    Another option is to try to load the file in a regular script tag and check if it is correctly requested and loaded in the network tab.

    Let me know if you need additional information on this matter.

    Telerik by Progress
    Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
Back to Top