Jump to content
Changes to the Jaspersoft community edition download ×

style - alternate color of detail row


Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 years later...


Thank you for the reply.

I have created 2 conditional styles, but it does not work.

I think i am doing something wrong.

the conditional style expression´s are:

new java.lang.Boolean($V{genderV}=="F")


new java.lang.Boolean($V{genderV}=="M")

genderV is a variable with this expression $F{gender}.

All the data comes from a xml Data source like this




I just want to show the name and the surname, but the line must have the color according to the values of gender.I would appreciate if anyone could help me.

Thank you.


Post Edited by nnvc at 08/03/2009 12:26
Link to comment
Share on other sites

  • 1 month later...

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