Export to Excel has .csv extension, why not .xls?
Export to Excel has .csv extension, why not .xls?
![step1020304050](https://secure.gravatar.com/avatar/d086dd9623dc8361dfbf10f283991052/?default=https%3A%2F%2Fvanillicon.com%2Fd086dd9623dc8361dfbf10f283991052_200.png&rating=g&size=120)
in TableTools
Hi All,
I'm using Datatables 1.10 and using the table tools extension. I was exporting using the excel button, but it is saved as .csv.
Why is it not exported as .xls?
Please help.
This discussion has been closed.
Answers
Because it is not an xls file. You can use the TableTools options to change the extension if you want, but modern versions of Excel will report the file as corrupt (old versions worked just fine and TableTools did use an xls extension).
One day I'll get around to writing a real xlsx exporter...
Allan