Jump to content
We've recently updated our Privacy Statement, available here ×

How can i change BGColor of Fields from Dataset?


Recommended Posts

Hi Guys :)

I have an iReport file where I pass a dataset via a Java program. The dataset contains letters that are written in different fields. In this case: Field1 = "S", Field2 = "B", Field3 = "", Field4 = "R",... . In the iReport file I have everything ready, so the dataset fills a table in iReport super over each $Fields. Now the question is, how do I change the background color? In the end, for example, the fields in the table that have the value "B" should be red, the field "R" should be orange, and so on. I have already tried it with Conditional Style but when I want to add a Style/Con.Style and try to insert the fields under "Condition Expression" they are not available in the menu. So all the fields coming from the dataset are not displayed?

How can I color the fields anyway or address them first in the "Condition Expression" menu?

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