When I export to an Excel file there are no JS errors, and I get an .xlsx file. Unfortunately neither Windows Excel 2007 nor Mac Excel 2011 can open it. They both complain that the file is corrupt, but are unable to repair it.
$.ig.GridExcelExporter.export($(selector), { fileName: fname_prefix + suffix, gridFeatureOptions: { // Exports the currentPage in the excel document paging: "allRows" }, gridStyling: "none" });
Note that our grid uses the paging, filtering, groupby, and sorting features. But I turned paging off for export (see above), and the test I'm running has no grouping, sorting, or filtering applied by the user. (I also tried filtering the results down to one row, but that didn't help.) Plus I turned off styling, just in case.
Infragistics jQuery controls version 15.1.20151.1005
I am using the versions of FileSaver.js and Blob.js from http://www.igniteui.com/js/external/
Not sure what else to look for. Suggestions needed.
Thanks,
Matt
Hello Matt,
Thank you for contacting Infragistics Developer Support!
I was not able to reproduce the behaviour that you're seeing on your side. I have attached the sample project I used to test this. The version I am using is 2112. Please test this project on your side; whether or not it works correctly may help indicate the nature of this issue. If this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.Please let me know if I can provide any further assistance.
Quick update: the sample works here (no surprise really). So now I have to drill down to figure out what's different. I'll post an update when I know more.
> Please check if this issue reproduces with your code with the latest version.
Well it's taken most of the day but I've narrowed it down to a single line:
<script src="http://cdn-na.infragistics.com/igniteui/2015.1/latest/js/modules/infragistics.documents.core.js"></script>That module is now at version 15.1.20151.2112, and apparently fixes a problem. My module was 15.1.20151.1001.
Are version bumps announced anywhere? Are there release notes for it?
I am glad that you've resolved the issue.
Currently there are no version bumps for this.
Since the grid excel exporter is CTP, I can recommend you to use the latest version.
Let me know if you need further assistance.
> Since the grid excel exporter is CTP, I can recommend you to use the latest version.
When I try to download the latest 2015.1 I still get an older version. Is referencing individual files via the URL "igniteui/2015.1/latest" the only way to get the latest version? Is there no downloadable package? Or at least a way to know when Ignite has a patch so I can update local copies of the files?
You can go to My Keys & Downloads page and under dev tools select your product and license key. After a group of tabs will appear, you can click Service Releases tab, and you should be able to download the latest service release.
Thanks! I didn't know about that tab. I also found the schedule for the next service release, which will be useful as well.
(Release notes would be useful-- for future releases I hope Infragistics will consider including a list of resolved items.)