Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
990
Export Basic Grid to Excel Error
posted

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

Parents
  • 16310
    Verified Answer
    Offline posted

    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.

Reply Children