Jump to content
JasperReports Library 7.0 is now available ×

How to set a value to some jrxml tag?


savage_fx

Recommended Posts

Hi! I need to do such thing:

 

For example I want to print any second line with red color and any other with blue color in jrxml.

 

How to dynamically

set a forecolor="#0000FF" to a <textField> - tag parameter according the line which is currently printing?

 

Something like :

 

<reportElement forecolor=${some dynamic variable} ... />

 

according the line which is currently printing

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