Closed vjcagay closed 10 years ago
I can't check it on Mac. If someone else could check it...
This can work on excel 2011 but you need to perform some command like jujutsu:
1) rename the downloaded file to html: $ mv download download.html
2) force it to open in excel: $ open -a Microsoft\ Excel.app download.html
https://github.com/tokuhirom/js-xlsx-demo and https://github.com/SheetJS/js-xlsx appear to use https://github.com/eligrey/FileSaver.js/ to save files
It works fine on MS Office and LibreOffice, but when opened using Numbers it just displays the table markup code not the actual formatted data.
I used the XLS file exported from the demo here: http://jordiburgos.com/post/2014/excellentexport-javascript-export-to-excel-csv.html