Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Suppress Table Header row in the last page
Suppress Table Header row in the last page [message #713254] Mon, 08 August 2011 05:14 Go to next message
cbr125x  is currently offline cbr125x
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 15:15 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
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] Mon, 08 August 2011 22:39 Go to previous message
cbr125x  is currently offline cbr125x
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: Tue Jul 29 13:11:15 EDT 2014

Powered by FUDForum. Page generated in 0.02285 seconds