Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » last row in the report(last row in the report)
last row in the report [message #762141] Wed, 07 December 2011 15:53 Go to next message
harip kaligo is currently offline harip kaligo
Messages: 74
Registered: July 2011
Member
Hi,

We are using Birt3.7 to generate reports, is it possible to identify or find lastrow fetched and apply some styles on it.

Thanks,

KKP
Re: last row in the report [message #762267 is a reply to message #762141] Wed, 07 December 2011 19:26 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Absolutely. Add two computed columns to the dataset, one to count the
total rows, and one to do a running count. Then select the detail row
of the table and choose highlight rule. Set the highlight rule to fire
when the two are equal and apply a style. See attached example.

Jason


On 12/7/2011 10:53 AM, kkp wrote:
> Hi,
>
> We are using Birt3.7 to generate reports, is it possible to identify or
> find lastrow fetched and apply some styles on it.
>
> Thanks,
>
> KKP
Re: last row in the report [message #762425 is a reply to message #762267] Thu, 08 December 2011 03:23 Go to previous messageGo to next message
harip kaligo is currently offline harip kaligo
Messages: 74
Registered: July 2011
Member
Jason,

Is it also possible to get last row of each page and apply styles to it?

Thanks,
KKP
Re: last row in the report [message #762880 is a reply to message #762425] Thu, 08 December 2011 19:04 Go to previous messageGo to next message
harip kaligo is currently offline harip kaligo
Messages: 74
Registered: July 2011
Member
Any thoughts on this Jason?
Re: last row in the report [message #762883 is a reply to message #762425] Thu, 08 December 2011 19:06 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

The only way I know to do this is to use the Page Break Interval setting
on the table so you know how many rows will be on a page.
You also can not set it higher than what will fit on the page or the
calculation will be off. If you set it to say 15, then you can use the
same approach that the previous example I posted and just apply the
styling every 15 rows.

Jason

On 12/7/2011 10:23 PM, kkp wrote:
> Jason,
>
> Is it also possible to get last row of each page and apply styles to it?
>
> Thanks,
> KKP
Previous Topic:Warnings when rendering chart to svg
Next Topic:BIRT without Jetty
Goto Forum:
  


Current Time: Thu Sep 18 23:54:00 GMT 2014

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

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