<?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[xlxs template - cell data-type is not defined by Excell]]></title><description><![CDATA[<p>Hi, I have a xlxs template with dynamic data that I export to excel.<br />
The problem is I didn't find any way excel recognize cell data-type, I mean when I click on excel cell it displays not Generic data-type but number or date<img src="/uploads/files/1684658340961-jsreportpicture.png" alt="0_1684658340428_JSReportPicture.png" class="img-responsive img-markdown" />  for example<br />
<strong>This is my template:</strong><br />
&lt;row&gt;<br />
{{#each ../data.TableHeaderMapper}}<br />
&lt;c t=&quot;inlineStr&quot;&gt;<br />
&lt;is&gt;<br />
&lt;t&gt;{{getTd ../this this}}&lt;/t&gt;<br />
&lt;/is&gt;<br />
&lt;/c&gt;<br />
{{/each}}<br />
&lt;/row&gt;</p>
]]></description><link>https://forum.jsreport.net/topic/2800/xlxs-template-cell-data-type-is-not-defined-by-excell</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 22:44:45 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/2800.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 May 2023 08:40:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to xlxs template - cell data-type is not defined by Excell on Invalid Date]]></title><description><![CDATA[<p>Hi, I have a xlxs template with dynamic data that I export to excel.<br />
The problem is I didn't find any way excel recognize cell data-type, I mean when I click on excel cell it displays not Generic data-type but number or date<img src="/uploads/files/1684658340961-jsreportpicture.png" alt="0_1684658340428_JSReportPicture.png" class="img-responsive img-markdown" />  for example<br />
<strong>This is my template:</strong><br />
&lt;row&gt;<br />
{{#each ../data.TableHeaderMapper}}<br />
&lt;c t=&quot;inlineStr&quot;&gt;<br />
&lt;is&gt;<br />
&lt;t&gt;{{getTd ../this this}}&lt;/t&gt;<br />
&lt;/is&gt;<br />
&lt;/c&gt;<br />
{{/each}}<br />
&lt;/row&gt;</p>
]]></description><link>https://forum.jsreport.net/post/12121</link><guid isPermaLink="true">https://forum.jsreport.net/post/12121</guid><dc:creator><![CDATA[bstornext]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to xlxs template - cell data-type is not defined by Excell on Invalid Date]]></title><description><![CDATA[<p>This is defined in the cell <code>s</code> attribute which is a reference to the <code>styles.xml</code>.</p>
<pre><code> &lt;row&gt;      
     &lt;c s=&quot;1&quot;&gt;&lt;v&gt;11&lt;/v&gt;&lt;/c&gt;
&lt;/row&gt;
</code></pre>
<p>You can either find out the right <code>s</code> value in an existing xlsx template you use or use <code>xlsx</code> helpers to update the <code>styles.xml</code>. Like here</p>
<p><a href="https://playground.jsreport.net/w/anon/nOIQZfMt" rel="nofollow">https://playground.jsreport.net/w/anon/nOIQZfMt</a></p>
<pre><code class="language-xml">{{#xlsxAdd &quot;xl/worksheets/sheet1.xml&quot; &quot;worksheet.sheetData[0].row&quot;}}
    &lt;row&gt;      
        &lt;c s=&quot;1&quot;&gt;&lt;v&gt;11&lt;/v&gt;&lt;/c&gt;
    &lt;/row&gt;
{{/xlsxAdd}}

{{#xlsxReplace &quot;xl/styles.xml&quot; &quot;styleSheet.cellXfs&quot;}}
   &lt;cellXfs count=&quot;2&quot;&gt;
		&lt;xf numFmtId=&quot;0&quot; fontId=&quot;0&quot; fillId=&quot;0&quot; borderId=&quot;0&quot; xfId=&quot;0&quot;/&gt;
		&lt;xf numFmtId=&quot;2&quot; fontId=&quot;0&quot; fillId=&quot;0&quot; borderId=&quot;0&quot; xfId=&quot;0&quot; applyNumberFormat=&quot;1&quot;/&gt;
	&lt;/cellXfs&gt;
{{/xlsxReplace}}

{{{xlsxPrint}}}
</code></pre>
<p>As always with xlsx transformations, it requires you to check how the XML structure looks like inside existing xlsx files and replicate the same with <code>xlsx</code> helpers.</p>
]]></description><link>https://forum.jsreport.net/post/12124</link><guid isPermaLink="true">https://forum.jsreport.net/post/12124</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>