Jump to content
Changes to the Jaspersoft community edition download ×

how to apply font size in coding while checking ternary operator condition


udumanajmeer

Recommended Posts

Hi friends good day to all, I want to apply font size based on the null value. My condition is, value is null means font size will apply 8 and value is notnull means font size will appy 10. So I want to check look like below. any one can help me. please help me soon.

$P{gpa1} == null ? "#.##".fontSize=8 : $P{gpa1}.fontSize=10

 

Link to comment
Share on other sites

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