Jump to content
Changes to the Jaspersoft community edition download ×

Print when expression


agentelu

Recommended Posts

Hello,

 

I´have the following question :

 

I want to set the background of a textfield whith the color gray when column count is odd.

 

i use the instruction " new Boolean(($V{COLUMN_COUNT}.intValue() % 2) == 0)" in the print when expression, to make a field invisible when the Column count is odd.

 

But for now i want to put the background of a TextField in different color when the Column Count is odd.

 

P.S : sometimes the field make strecht with overflow and jump the information to the next line, and i want that in this case this lines have the same background color that the previous column.

 

The version of ireport that i use is : 1.2.4

 

Best regards

 

Post edited by: agentelu, at: 2007/03/30 11:11

Post edited by: agentelu, at: 2007/03/30 11:22

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