Export to excel not working - options.names is undefined

2 posts, 0 answers
  1. Shermy
    Shermy avatar
    3 posts
    Member since:
    Jun 2014

    Posted 19 Oct Link to this post

    Hi,

    I am trying to figure out why exporting to excel does not work for me. After some digging into kendo's src code, this is the result of "this.options.name" is undefined - where 'this' is a WorkBook Object. This error is in the public "toDataUrl" function. Attached is the line in which it errors out - and below is the options I have for the grid. 

     

          toolbar: ["excel"],
          excel: {
            allPages: true,
            fileName: "Socialie-Stats.xlsx"
          },

     

    Thanks!

  2. Stefan
    Admin
    Stefan avatar
    264 posts

    Posted 21 Oct Link to this post

    Hello Shermy,

    There is a known issue with the Grid' Excel export in the latest version of Kendo UI 2016.3.914 with combination of a specific jQuery versions:

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

    Please check if changing the jQuery version to one of the listed in the issue (1.12.1 recommended) will fix it.

    Regards,
    Stefan
    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.
     
  3. Kendo UI is VS 2017 Ready
Back to Top