TableTools bug

TableTools bug

MarcoPimentelMarcoPimentel Posts: 1Questions: 0Answers: 0
edited November 2011 in Bug reports
xls savins as csv.
bug located in TableTools.js at line 2063

change with --> "sFileName": "*.xls",

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Not a bug :-) This is quite intentional. The reason for it is that the file that is being generated by TableTools is in fact a CSV file, which can be quite happily opened by Excel. If I call it 'xls' then Excel can still open it, but the newer versions throw up a warning that it is in the wrong file format, and people didn't like that. Thus this way you can create a file which is opened by Excel no problem.

    I fully accept that this isn't perfect, but I've not yet had a chance to code up TableTools to output a valid XLS file - its on the to-do list!

    Allan
This discussion has been closed.