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

Export to Excel of Grid not working in a SharePoint Online page

2 Answers 29 Views
Grid
This is a migrated thread and some comments may be shown as answers.
PaulH
Top achievements
Rank 1
PaulH asked on 06 Feb 2017, 10:46 AM

Hi all.

I'm using Kendo UI Grid to present SharePoint list data inside a TabStrip in a standard page in Office 365 (so SharePoint online) and everything works nicely except Export to Excel does absolutely nothing. I've tried using the toolbar "Excel" feature and it does nothing and if I add a separate button as the below:

$("#btnExcelExportAll").kendoButton({
    click: function () {
        $("#allpropgrid").getKendoGrid().saveAsExcel();
    }
});

 

the page refreshes on click but nothing else happens. I've tried this in Firefox, Chrome and IE11 all on Windows 10 and no joy. Anyone got any suggestions? Am I missing some kind of pre-requisite?

Thanks in advance for any assistance.

2 Answers, 1 is accepted

Sort by
0
Accepted
Boyan Dimitrov
Telerik team
answered on 08 Feb 2017, 09:01 AM

Hello,

We are not aware of such problem with the Kendo UI Grid excel export. I believe that the problem might be not including a reference to JSZip script. In any case there should an error thrown in the developer console of your browser when trying to export to excel. Could you please check your browser's developer console for any errors? 

Regards,
Boyan Dimitrov
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.
0
PaulH
Top achievements
Rank 1
answered on 08 Feb 2017, 11:18 AM
Thanks for that Boyan. That is indeed what I was missing. I've added that to my pages and it's working.
Tags
Grid
Asked by
PaulH
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
PaulH
Top achievements
Rank 1
Share this question
or