I have some text I want to show on the last page only. I found a sample below at this topic <a class='bbc_url' href='
http://www.birt-exchange.org/org/forum/index.php/topic/17175-how-to-hide-the-footer-on-last-page/page__hl__pageNumber __fromsearch__1'>How to hide the footer on last page</a><br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
if (BirtComp.lessThan(pageNumber, totalPage))
{
this.getStyle().display = "NONE";
}
</pre>
<br />
I add this code to onRender of a grid in master page footer as the topic's instruction. However, it just works on BIRT Report Viewer and doesn't on PDF output.<br />
<br />
In report viewer, it works as I want except the footer appears right after the table.<br />
<br />
In PDF, it is completely wrong. The footer is not shown in first page but it appears in other pages.<br />
<br />
I'm using BIRT 2.6.2. I attach my report. Any helps must be appreciated.