Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Suppress Table Header row in the last page
Suppress Table Header row in the last page [message #713254] Mon, 08 August 2011 09:14 Go to next message
cbr125x  is currently offline cbr125x Friend
Messages: 34
Registered: July 2011
Member
I have report which the result more than 1 pages.
i want the header row of the table is hidden on the last page ,
i mean if we the data on the detail row already written all and report must write the footer on the new page then i want the header is suppressed.
is there a way to do that in BIRT?
Many Thanks..
Re: Suppress Table Header row in the last page [message #713676 is a reply to message #713254] Mon, 08 August 2011 19:15 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

If you are using frameset mapping or the RE API with a runtask and then
a render task you could do this by adding an onRender script to the
table header.

if( pageNumber == totalPage ){
this.getStyle().display = "none";
}

See attached example

On 8/8/2011 5:14 AM, cbr125x wrote:
> I have report which the result more than 1 pages.
> i want the header row of the table is hidden on the last page ,
> i mean if we the data on the detail row already written all and report
> must write the footer on the new page then i want the header is suppressed.
> is there a way to do that in BIRT?
> Many Thanks..
Re: Suppress Table Header row in the last page [message #713768 is a reply to message #713676] Tue, 09 August 2011 02:39 Go to previous message
cbr125x  is currently offline cbr125x Friend
Messages: 34
Registered: July 2011
Member
Jason Weathersby wrote on Mon, 08 August 2011 15:15
If you are using frameset mapping or the RE API with a runtask and then
a render task you could do this by adding an onRender script to the
table header.

if( pageNumber == totalPage ){
this.getStyle().display = "none";
}

See attached example

On 8/8/2011 5:14 AM, cbr125x wrote:
> I have report which the result more than 1 pages.
> i want the header row of the table is hidden on the last page ,
> i mean if we the data on the detail row already written all and report
> must write the footer on the new page then i want the header is suppressed.
> is there a way to do that in BIRT?
> Many Thanks..


Thx Jason for your reply,
Excellent, it's works 100%.
Previous Topic:PDF and page number
Next Topic:Run Time Element Formatting
Goto Forum:
  


Current Time: Thu Apr 25 23:25:35 GMT 2024

Powered by FUDForum. Page generated in 0.03335 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top