I'm trying to follow the basic excel export example at: http://www.igniteui.com/grid/export-basic-grid
I've followed the sample exactly but when i try to export, i get the error as follows:Uncaught ReferenceError: saveAs is not defined(anonymous function) @ infragistics.gridexcelexporter.js:23(anonymous function) @ infragistics.excel.js:26(anonymous function) @ infragistics.documents.core.js:192$c.p @ infragistics.documents.core.js:192$c.w @ infragistics.documents.core.js:192$c.d @ infragistics.documents.core.js:192$c._save @ infragistics.excel.js:26$c.save @ infragistics.excel.js:26(anonymous function) @ infragistics.gridexcelexporter.js:23
All i'm need to do is simply export the grid using this example.
I'm using IgniteUI 2015 Vol. 2 (15.2.20152.2081).
Is there a bug with this version?
thanks,
wvusaf
Hi,
Please make sure you have included the FileSaver and Blob libraries that are required in order for the igGridExcelExporter to work:
<!-- External files for exporting --> <script src="http://www.igniteui.com/js/external/FileSaver.js"></script> <script src="http://www.igniteui.com/js/external/Blob.js"></script>
Please let me know if including those fixed the issue.
I did not have those files included. I also do not see them in the IgniteUI installation folder.
Where are those files located?