I am exporting a HTML Table using this below.
var template = `<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="https://www.w3.org/TR/html40/">
<head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>${filename}</x:Name><x:WorksheetOptions><x:DisplayGridlines/>
</x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml>
<![endif]--><meta http-equiv="content-type" content="text/plain; charset=UTF-8"/>
</head><body>${Table.outerHTML}</body></html>`
Whenever I go down to row 3452 in the Excel file and everything below, the html attribute “rowspan” on the tag “td” no longer works..However, if I open it in chrome as a html file it looks perfect.
If i for example remove a row from where the issue starts, then the row that started with having issues is ok – It is as if once u reach row 3452 then the issues start.
Any idea?
I was expecting the formatting to be correct like before line 3452
HumbleGuy97 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.