hhurz / tableExport.jquery.plugin

jQuery plugin to export a html table to JSON, XML, CSV, TSV, TXT, SQL, Word, Excel, PNG and PDF
MIT License
984 stars 714 forks source link

Version 1.20 doesn't work with IE, IE11 doesn't support "for(const " and "class ". #340

Closed schzh closed 2 years ago

schzh commented 2 years ago

In IE 11\IE WIN 10,Version 1.20 doesn't work,F12 Debug shows SCRIPT1053: Const must be initialized error in this sentence : "for(const " I tried to replace all "for(const " with "for(var ", then the next error is before this sentence: class jsPdfTableClass{ I delete all class jsPdf, now it's OK.

So the problem is clear: IE11 doesn't support "for(const " and "class ".

schzh commented 2 years ago

Version 1.20 doesn't work with IE,F12 Debug shows SCRIPT1053: Const must be initialized in this sentence : for(const cssStyle in defaults.mso.styles) In IE 11\IE WIN 10

and the old version 1.10 can be use with no problem

schzh commented 2 years ago

another problem is speed, it takes a very long time to export a table of 1000 lines

hhurz commented 2 years ago

Release 1.21 supports IE11 again.

About speed: I confirm the speed problem. The speed of the export is determined by the source table, the browser used and the format to export to. In the near future I don't see myself being able to speed up the export significantly.

schzh commented 2 years ago

Release 1.21 supports IE11 again.

About speed: I confirm the speed problem. The speed of the export is determined by the source table, the browser used and the format to export to. In the near future I don't see myself being able to speed up the export significantly.

Thanks.