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

How to use multiple columns in conditional styles expression?


shuhovivan

Recommended Posts

I have a table which cells fill values from 0 to 3 ( from dataset). I need that cell were painted according to the value. Now I know that a can create a conditional styles for every field in dataset:

  1. $F{MONDAY}.doubleValue() == 0
  2. $F{MONDAY}.doubleValue() == 1
  3. $F{MONDAY}.doubleValue() == 2
  4. $F{MONDAY}.doubleValue() == 3

So create the same for the rest days of week. But this way is extremly ineffetive and comlicated.

What should i use instead of $F{<DAYOFWEEK>} to include all columns into expression? So i could create one style with the four conditional styles and apply it for every column.

Link to comment
Share on other sites

  • Replies 3
  • 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...