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 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:Drill Through (Hyperlinks) is not working in remote server
Next Topic:apply or remove styles dynamically at runtime
Goto Forum:
  


Current Time: Wed Oct 18 11:32:11 GMT 2017

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

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