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
820
Javascript excel workbook error
posted

With version: 17.1.20171.1012

The javascript excel support files seem to have vanished:

The  js/infragistics.documents.core.js file does not exist, maybe the file is now js/modules/infragistics.documents.core_core.js ?

The js/infragistics.exel.js file does not exist, maybe the file is now js/modules/infragistics.exel_core.js?


Our Issue

When exporting using the above found js files, we are now getting errors when attempting to add a worksheet to the workbook:

var workbook = new $.ig.excel.Workbook($.ig.excel.WorkbookFormat.excel2007);
var sheet = workbook.worksheets().add('Sheet1');

I receive the error:  'Object doesn't support property or method 'worksheets'' when trying to add 'sheet1' to the workbook

This is the link to the example we originally used:

http://help.infragistics.com/Help/Doc/jQuery/2014.2/CLR4.0/html/Using_the_Client_Side_Excel_Library.html