udumanajmeer Posted July 29, 2015 Share Posted July 29, 2015 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 More sharing options...
RamaKrishna.B Posted July 29, 2015 Share Posted July 29, 2015 hi Friend,$P{product_name}==x?"<style isBold='true' font-size='10'>" + $P{product_name} + "</style>":"<style isBold='true' font-size='7'>" + $P{product_name} + "</style>"Try this mostly it work . let me know if your facing any issues.ThanksB Rama Krishna 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