Skip to main content



      Home
Home » Archived » BIRT » apply a style to rows
apply a style to rows [message #198759] Thu, 02 November 2006 14:38 Go to next message
Eclipse UserFriend
Originally posted by: aaa.aaa.it

Hi !
Could you please suggest me the best way to apply one style to even rows
and another to the odd ones, please ?
Thank you in advance,
nic
Re: apply a style to rows [message #198948 is a reply to message #198759] Fri, 03 November 2006 03:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: screek.gmx.de

Hi!

For me the best solution was to define a single style using "Highlights".
There you can add one Highlight rule with the condition "row[0] % 2 Equal to
0" for odd rows and can for example change the background color.

Regards,
Christian

"Nik" <aaa@aaa.it> wrote in message news:eidhe0$f0t$1@utils.eclipse.org...
> Hi !
> Could you please suggest me the best way to apply one style to even rows
> and another to the odd ones, please ?
> Thank you in advance,
> nic
Re: apply a style to rows [message #199099 is a reply to message #198948] Fri, 03 November 2006 16:10 Go to previous message
Eclipse UserFriend
This is correct. The new way for getting rowcount should be
row["__rownum"] instead of row[0] though.

Jason

"Christian Eckert" <screek@gmx.de> wrote in message
news:eif03r$ma7$1@utils.eclipse.org...
> Hi!
>
> For me the best solution was to define a single style using "Highlights".
> There you can add one Highlight rule with the condition "row[0] % 2 Equal
> to 0" for odd rows and can for example change the background color.
>
> Regards,
> Christian
>
> "Nik" <aaa@aaa.it> wrote in message news:eidhe0$f0t$1@utils.eclipse.org...
>> Hi !
>> Could you please suggest me the best way to apply one style to even rows
>> and another to the odd ones, please ?
>> Thank you in advance,
>> nic
>
>
Previous Topic:IRR Financial script
Next Topic:ReportRunner from a batch file fails to produce PDF
Goto Forum:
  


Current Time: Sun May 11 20:40:19 EDT 2025

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

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

Back to the top