This is a migrated thread and some comments may be shown as answers.

Export to excel not working - options.names is undefined

1 Answer 460 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chap
Top achievements
Rank 1
Chap asked on 19 Oct 2016, 11:33 PM

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!

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 21 Oct 2016, 10:05 AM
Hello ,

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.
 
Tags
Grid
Asked by
Chap
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or