kesabaranbravo Posted November 26, 2014 Share Posted November 26, 2014 i have a question.how to hide a text field in jasper report depend on another text field value. Link to comment Share on other sites More sharing options...
Solution 65644341 Posted November 26, 2014 Solution Share Posted November 26, 2014 Do you install the iReport?if yes,you can see the property "print when expression" in the property panel.eg.you've got 2 text fields fieldA and fileldB.If you want to display the A only if the fieldB is not empty.The print when expression in the Text A could be :F{filedB}!=null &&!"".equals(F{fieldB}) Link to comment Share on other sites More sharing options...
kesabaranbravo Posted November 27, 2014 Author Share Posted November 27, 2014 thanks bro. it work. 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