My Excel file generated by the table2excel jQuery plugin will not open properly, and will throw XXXX.xls file format; the extension doesn't match.
and I think this file is a text file, not a real binary excel file.
Js:
e.uri = "data:application/vnd.ms-excel;base64,";
link = e.uri + e.base64(e.format(fullTemplate, e.ctx));
a = document.createElement("a");
a.download = getFileName(e.settings);
a.href = link;
document.body.appendChild(a);
a.click();
document.body.removeChild(a);
Visit my jsfiddle to see my code!