I have a HTML table that I want to export to Excel using the table2excel plugin. Unfortunately when I download it, the generated Excel file has an error. How can I fix that?
I have created a JSFiddle.
Basically to call the plugin you just need to do this:
$("#downloadIntermidiate").click(function(){
$("#intermediateTable").table2excel({
exclude: ".noExl",
name: "Excel Document intermediateTable"
});
});
Here #intermediateTable
is the id of the table that has to be printed.