mohammed.sardar Posted May 22, 2015 Share Posted May 22, 2015 Hi All,I have designed a jasper report where I have column header followed by details and one more sunreport in a Group Footer. So how the report works in it will print the first report data and then followed by sub report data. What I want to do is I want to hide the column headers of Report 1 when there is no data for the header report.To cut the story short the column header should be hidden if there is no data. I searched through the net but could not find a clue to make it worl. Could you please some one guide me on thisMany ThanksMohammed Link to comment Share on other sites More sharing options...
marianol Posted May 22, 2015 Share Posted May 22, 2015 So, to do this; you need to use the PrintWhen Expression of the Header band, that expresion if evaluates to TRUE, will not print the header band. Here is a nice thread about using this type of expressions http://stackoverflow.com/questions/294989/how-to-use-printwhenexpression-in-jasperreports 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