Jump to content
JasperReports Library 7.0 is now available ×

How to dynamically add images under specific condi


nithya

Recommended Posts

Hi all,

 

I wanna dynamically add images to a cell by validating a condition, my condition is as follows,

 

Code:
$F{row1} . intValue() == 1 ? 0 : 1

 

 

Now wanna to change this condtion to something like this

 

Code:
[code]$F{row1} . intValue() == 1 ? image1 : image2

 

 

How can i achieve it

 

Thanx in advance

 

-Nithya

Link to comment
Share on other sites

  • 2 weeks later...
  • 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...