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.
7 Answers, 1 is accepted
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
Hello,
Is there any documentation on the version of jszip that has been distributed with each version of UI for ASP.NET MVC or is it always 2.6?
I'm looking at kendo\2016.3.1118\jszip.min.js and I cannot figure out which version of jszip this file is.
Thanks,
Jim
Hello Jim,
Currently we don't have this information documented, so I will log this task for the documentation team.
Regarding the version, all releases since mid 2016 use Jszip 2.6.
Dimiter Madjarov
Telerik by Progress
Hello Dimiter
do you plan to support JSZip 3+ ?
/Morten
We have a logged issue in our GitHub repository on this subject:
https://github.com/telerik/kendo-ui-core/issues/2316
Any updates regarding introducing support for JsZip v. 3+ will be posted there, however I can share that providing such support is not in our immediate plans, as it will cause breaking changes in our excel export functionality.
Regards,
Dimiter Topalov
Telerik by Progress