clarketm / TableExport

The simple, easy-to-implement library to export HTML tables to xlsx, xls, csv, and txt files.
https://tableexport.travismclarke.com/
Apache License 2.0
888 stars 289 forks source link

[BUG] Excel recognise the file as .txt instead of .csv #106

Closed mankinchi closed 6 years ago

mankinchi commented 6 years ago

I use the plugin to do simple export like this: $('#blank').tableExport({ type: 'csv', csvEnclosure: '"' });. However, when I open the file in Excel, Excel recognise the file as .txt (when I use "save as"). I think because of this, when I hit "Save" on Excel, it automatically changes the format from comma to tab delimiter. Can you look into this? Thanks

clarketm commented 6 years ago

@mankinchi – This TableExport is not the same plugin you are using. We use formats rather than type to specify file format.