shuhovivan Posted February 16, 2017 Share Posted February 16, 2017 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:$F{MONDAY}.doubleValue() == 0$F{MONDAY}.doubleValue() == 1$F{MONDAY}.doubleValue() == 2$F{MONDAY}.doubleValue() == 3So 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 More sharing options...
sanbez Posted February 16, 2017 Share Posted February 16, 2017 http://community.jaspersoft.com/questions/542449/how-make-parameterized-condition-styleI have not got an answer on my questionAnd silence. And the dead with scythes standing :)))(I hope you know this film) Link to comment Share on other sites More sharing options...
hozawa Posted February 17, 2017 Share Posted February 17, 2017 Haven't tried it myself but have you read the following thread? The bug may be fixed in the current version.http://community.jaspersoft.com/questions/539525/setting-styles-dynamically-here-background-color Link to comment Share on other sites More sharing options...
shuhovivan Posted February 17, 2017 Author Share Posted February 17, 2017 It's a strange that there is no such an obvious feature.Great film, btw :) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now