Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 kaligoFriend
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 WeathersbyFriend
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 kaligoFriend
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 kaligoFriend
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 messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
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
Re: last row in the report [message #1766877 is a reply to message #762883] Wed, 28 June 2017 13:08 Go to previous message
Vivek Kumar is currently offline Vivek KumarFriend
Messages: 2
Registered: June 2017
Junior Member
Hi Jason
Could you please elaborate more on 'Then select the detail row of the table and choose highlight rule.' Where can I find detail row?
Previous Topic:How can I restrict the number of row fetched based on a filter
Next Topic:BIRT adds in spaces when rendering a PDF
Goto Forum:
  


Current Time: Thu Apr 18 21:04:17 GMT 2024

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

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

Back to the top