I am getting error "Unable to get the "excel" property of a null or undefined reference" while executing below line in javascript
var workbook = new $.ig.excel.Workbook($.ig.excel.WorkbookFormat.excel2007);
Support needed !!!!! Thank you in advance !!!!!!!
Hi,
Please make sure you have loaded all resources needed for the igGridExcelExporter or igExcel, that are listed in this Overview topic. You can also refer to the demo samples for the igExcel library and the igGridExcelExporter.
Please let me know if you have further questions.
Thank you for your response.
I Have added below library, please let me know if I am missing something
<script src="">cdn-na.infragistics.com/.../script> <script src="">cdn-na.infragistics.com/.../script> <script src="">cdn-na.infragistics.com/.../script> <script src="">cdn-na.infragistics.com/.../script> <script src="">cdn-na.infragistics.com/.../script> <script src="">cdn-na.infragistics.com/.../script> <script src="">cdn-na.infragistics.com/.../script> <script src="">cdn-na.infragistics.com/.../script> <script src="">cdn-na.infragistics.com/.../script> <script src="">cdn-na.infragistics.com/.../script> <script src="">cdn-na.infragistics.com/.../script> <script src="">cdn-na.infragistics.com/.../script> <script src="">cdn-na.infragistics.com/.../script> <script src="">cdn-na.infragistics.com/.../script>
You seem to be missing the infragistics.lob.js:
<script src="igniteui/js/infragistics.lob.js"></script>
Thank you for response !!!!!!
I have added this line, still it s showing same error.
Same code I have tested with with different system having excel 2016 and its working. But it is not working with excel 2013.
Is there any restriction regarding excel version? Please help.
Please provide a sample reproducing the error and I will be glad to help you.