The file downloaded doesn't keep the original table format anymore (bold, cell border, cell colors..)
Changing this piece of the code fixes the problem (but may add other problems):
FROM
$(o).find("tr").not(e.settings.exclude).each(function (i,p) {
tempRows += "<tr>";
$(p).find("td,th").not(e.settings.exclude).each(function (i,q) { // p did not exist, I corrected
var flag = $(q).find(e.settings.exclude); // does this <td> have something with an exclude class
if(flag.length >= 1) {
tempRows += "<td> </td>"; // exclude it!!
} else {
tempRows += "<td>" + $(q).html() + "</td>";
}
});
The file downloaded doesn't keep the original table format anymore (bold, cell border, cell colors..) Changing this piece of the code fixes the problem (but may add other problems):
FROM
TO