阅读背景:

如何使用table2excel.js插件将HTML表下载到Excel中

来源:互联网 

I'm using the table2excel.js plugin to download an HTML table to Excel, in JavaScript. When I download the table, I get the message: "Excel cannot open the file 'Test.xlsx' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file." When I manually change the name of the downloaded file to 'Test.xls', I'm able to open the file fine (with a small warning that the file format and extension don't match). I'm using the table2excel.js plugin to download




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: