Jump to content
Changes to the Jaspersoft community edition download ×

Rows with alternate color


Recommended Posts

By: Navaneetha Krishnan J - navaneethanj

Rows with alternate color

2003-04-25 06:57

Hi,

 

Is it possible to show alternate color for rows in a reports.

ie.

1st row with white

2nd row with gray

3rd row with white again

4th row with gray and so on....

 

Thanks & Regards

Navaneethan

 

 

 

 

By: Teodor Danciu - teodord

RE: Rows with alternate color

2003-04-29 13:44

 

Hi,

 

Yes, it is possible:

 

http://jasperreports.sourceforge.net/tips.tricks.html#formatting

 

You use two sets of elements with different color

settings and swithc between them using the <printWhenExpression>.

 

I hope this helps.

Teodor

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...