Jump to content
JasperReports Library 7.0 is now available ×

Alternate background colour for grouped fields


ericvanrheenen

Recommended Posts

Hello,

I have a report with 9 fields in the detail band.  Now i want to change the background colour (alternated) when the value of a field changes.  The number of identical fields (field3 in example below) is not constant.
Example:
field1  field2 field3 = "aaa" field4 field5
field1  field2 field3 = "aaa" field4 field5
field1  field2 field3 = "bbb" field4 field5
field1  field2 field3 = "ccc"  field4 field5
field1  field2 field3 = "ddd" field4 field5
field1  field2 field3 = "ddd" field4 field5
 

Please advice to do this.
 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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