<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Merged Cells in HTML-XLSX dropping content]]></title><description><![CDATA[<p>I've created a playground workspace to view this issue <a href="https://playground.jsreport.net/w/jsnevely-tempest/aRKcNqcx" rel="nofollow">here</a></p>
<p>Basically within a table using rowspan to merge cells, one single cell in the example's content is not displaying when converting to excel.  This appears to be an issue if there are <em>cells to the right</em> of the cell in question which have had a row span beyond it.</p>
<p>In the workspace linked above there are two identical files, an HTML one and an HTML-XLSX one.  In the HTML version (Merged Table HTML), you can see in the first table the central &quot;3 - two&quot; cell is visible and highlighted in red.  However when you execute the html-excel version of the same code the cell is rendered<br />
<img src="/uploads/files/1729086479361-upload-72f97b0a-3a14-4bf5-af6e-7d03f0955fb8-resized.png" alt="0_1729086479546_upload-72f97b0a-3a14-4bf5-af6e-7d03f0955fb8" class="img-responsive img-markdown" /></p>
<p>However, once you run the html-xlsx template (Merged Table HTML-Excel) you will see that the content for that cell is empty and the highlighting is not where you would expect it.<br />
<img src="/uploads/files/1729086576375-upload-a183d584-a05a-4468-a68c-a0d3069298b5-resized.png" alt="0_1729086576300_upload-a183d584-a05a-4468-a68c-a0d3069298b5" class="img-responsive img-markdown" /></p>
<p>In experimenting I've found that by moving the additional 4 <code>rowspan=6</code> columns from the right of the cell in question to the left of them the content <em>does</em> appear in excel, however; 1. this isn't an option as I'm constructing these tables dynamically and 2. the highlighting of the cell is still not as expected so I suspect this is a pseudo workaround that isn't actually working, but appears that it does only in this simple example.  I've added a second table to each file to demonstrate this.</p>
<p>I've tried a number of things, adding empty space cells using <code>&amp;nbsp;</code> adding and removing <code>rowspan=1</code> to rows by default etc... I'm not an expert in HTML tables by any means so the issue could entirely be on my side so I appreciate that you might look into this at all.</p>
]]></description><link>https://forum.jsreport.net/topic/3323/merged-cells-in-html-xlsx-dropping-content</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 07:49:13 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/3323.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 Oct 2024 13:52:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Merged Cells in HTML-XLSX dropping content on Wed, 16 Oct 2024 13:54:16 GMT]]></title><description><![CDATA[<p>I've created a playground workspace to view this issue <a href="https://playground.jsreport.net/w/jsnevely-tempest/aRKcNqcx" rel="nofollow">here</a></p>
<p>Basically within a table using rowspan to merge cells, one single cell in the example's content is not displaying when converting to excel.  This appears to be an issue if there are <em>cells to the right</em> of the cell in question which have had a row span beyond it.</p>
<p>In the workspace linked above there are two identical files, an HTML one and an HTML-XLSX one.  In the HTML version (Merged Table HTML), you can see in the first table the central &quot;3 - two&quot; cell is visible and highlighted in red.  However when you execute the html-excel version of the same code the cell is rendered<br />
<img src="/uploads/files/1729086479361-upload-72f97b0a-3a14-4bf5-af6e-7d03f0955fb8-resized.png" alt="0_1729086479546_upload-72f97b0a-3a14-4bf5-af6e-7d03f0955fb8" class="img-responsive img-markdown" /></p>
<p>However, once you run the html-xlsx template (Merged Table HTML-Excel) you will see that the content for that cell is empty and the highlighting is not where you would expect it.<br />
<img src="/uploads/files/1729086576375-upload-a183d584-a05a-4468-a68c-a0d3069298b5-resized.png" alt="0_1729086576300_upload-a183d584-a05a-4468-a68c-a0d3069298b5" class="img-responsive img-markdown" /></p>
<p>In experimenting I've found that by moving the additional 4 <code>rowspan=6</code> columns from the right of the cell in question to the left of them the content <em>does</em> appear in excel, however; 1. this isn't an option as I'm constructing these tables dynamically and 2. the highlighting of the cell is still not as expected so I suspect this is a pseudo workaround that isn't actually working, but appears that it does only in this simple example.  I've added a second table to each file to demonstrate this.</p>
<p>I've tried a number of things, adding empty space cells using <code>&amp;nbsp;</code> adding and removing <code>rowspan=1</code> to rows by default etc... I'm not an expert in HTML tables by any means so the issue could entirely be on my side so I appreciate that you might look into this at all.</p>
]]></description><link>https://forum.jsreport.net/post/14116</link><guid isPermaLink="true">https://forum.jsreport.net/post/14116</guid><dc:creator><![CDATA[jsnevely-tempest]]></dc:creator><pubDate>Wed, 16 Oct 2024 13:54:16 GMT</pubDate></item><item><title><![CDATA[Reply to Merged Cells in HTML-XLSX dropping content on Invalid Date]]></title><description><![CDATA[<p>Thank you for the problem description and demo replicating it.<br />
I've submitted task to github, we will look at it and come back to you<br />
<a href="https://github.com/jsreport/jsreport/issues/1183" rel="nofollow">https://github.com/jsreport/jsreport/issues/1183</a></p>
]]></description><link>https://forum.jsreport.net/post/14122</link><guid isPermaLink="true">https://forum.jsreport.net/post/14122</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>