Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Designer: missing <tfooter> and <thead> tag in HTML rendering
spulci
Hi,
how to force Birt to render HTML tables in HTML output usign tags like <tfooter> and <thead> as well as <tbody> to create distinction between table section? Example of HTML wanted below:
[html]<table border="1">
<thead>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
</thead>
<tfoot>
<tr>
<td>Sum</td>
<td>$180</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</tbody>
</table>[/html]
Thanks a lot
Simon
Find more posts tagged with
Comments
mwilliams
Hi Simon,
You can put this in a text box with HTML selected in the drop down and you should be able to display HTML tables.
spulci
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="74754" data-time="1300311326" data-date="16 March 2011 - 02:35 PM"><p>
Hi Simon,<br />
<br />
You can put this in a text box with HTML selected in the drop down and you should be able to display HTML tables.<br /></p></blockquote>
<br />
Of course but that's not my intent :unsure: I want a data table to be rendered by Birt with those tags. Code example was just an hint to explain my need. If you look at a data table rendered using a data set, you will notice that Birt does not insert these tags.<br />
Thanks a lot<br />
Simon
mwilliams
Oh, so you're talking that when a table element from the BIRT report is rendered in HTML it's not having the tags that you're wanting? Not you being able to create your own html table? If so, I'm guessing this is something you'll have to change in the HTML emitter or request an enhancement to the HTML emitter here:
http://www.birt-exchange.org/org/resources/bug-reporting/
I don't know where else you'd be able to change how the output is created.
xpaterna
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="74756" data-time="1300313471" data-date="16 March 2011 - 03:11 PM"><p>
Oh, so you're talking that when a table element from the BIRT report is rendered in HTML it's not having the tags that you're wanting? Not you being able to create your own html table? If so, I'm guessing this is something you'll have to change in the HTML emitter or request an enhancement to the HTML emitter here: <a class='bbc_url' href='
http://www.birt-exchange.org/org/resources/bug-reporting/'>http://www.birt-exchange.org/org/resources/bug-reporting/</a><br
/>
<br />
I don't know where else you'd be able to change how the output is created.<br /></p></blockquote>
<br />
Hi all,<br />
<br />
I have a solution for this problem.<br />
You can do it manually with JavaScript.<br />
<br />
I attach the example report that uses the ClassicModels example Database.<br />
<br />
Sorry for my english