Skip to main content



      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 10:53 Go to next message
Eclipse UserFriend
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 14:26 Go to previous messageGo to next message
Eclipse UserFriend
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] Wed, 07 December 2011 22:23 Go to previous messageGo to next message
Eclipse UserFriend
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 14:04 Go to previous messageGo to next message
Eclipse UserFriend
Any thoughts on this Jason?
Re: last row in the report [message #762883 is a reply to message #762425] Thu, 08 December 2011 14:06 Go to previous messageGo to next message
Eclipse UserFriend
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 09:08 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 08:40:05 EDT 2025

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

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

Back to the top