rainabba / jquery-table2excel

jQuery Plugin to export HTML tabled to Excel Spreadsheet Compatible Files
593 stars 666 forks source link

strange message about file format #42

Closed AliveDD closed 8 years ago

AliveDD commented 8 years ago

im install plugin into my app with options:

    $("#restaurant_stat").table2excel({
        exclude: ".noExl",
        name: "SmartReserve",
        filename: xlsFilename,
        fileext: ".xls",
        exclude_img: false,
        exclude_links: false,
        exclude_inputs: false
    });

my table are converted, but on the run i have Strange message:

screen shot 2016-06-21 at 20 10 14

help e please

rainabba commented 8 years ago

Correct, because the files is an xlsx, but others have opted to change the extension provided by default in the code. Excel doesn't handle the file properly then either though (it's buggy) so really that message is "normal" given then approach.

Also, please understand that this isn't support. If you're going to post an issue, please first read the README at least. In this case I'd hope that you would take away that this is a hack and there are numerous issues inherent to it.

AliveDD commented 8 years ago

thanks, Now i find this warning in readme.md but this heading threw me off and I couldn't read more

screen shot 2016-06-28 at 13 48 22