Jump to content
We've recently updated our Privacy Statement, available here ×

Alternate row color in the detail part


Recommended Posts

By: Sylvain Beaumont - sbeaumont

Alternate row color in the detail part

2003-03-27 12:17

Hi,

 

I would like to know if there is any way to alternate the row color in the <detail> part of the report when the query returns more than one element.

 

I have seen that this is possible using the <showwhenexpression> tag, but I don't want to write the same design code twice.

 

Thank you,

 

Sylvain

 

 

 

 

By: Alexandre Cuva - gtoronto

RE: Alternate row color in the detail part

2003-03-31 22:54

just put the a rectangle with a different background color and set the printwhenexpression to :

 

new Boolean(($V{REPORT_COUNT} mod 2) == 0)

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...