J_N Posted October 6, 2006 Share Posted October 6, 2006 I conditionally hide a field but I would like to hide all 'line' the field is on. It means reducing the height of the whole band. I see there checkbox 'Remove line when blank' but it seems to do nothing.What I like in other reporting applications and missing in iReport is possibility of adding multiple bands. Each of this band can be hidden separately. The above problem then would be solved by adding new detail band, making a condition which was formerly in field and then putting the field alone on it. It would be nice to have this feature. Thanks in advance for any comments. Link to comment Share on other sites More sharing options...
zsoelod Posted October 6, 2006 Share Posted October 6, 2006 Hi this worked for me in version 0.5.1 I used till now, do you have set print when expression for each field in the row? Link to comment Share on other sites More sharing options...
J_N Posted October 9, 2006 Author Share Posted October 9, 2006 Yes I have. Fields disappered on condition, but empty space remained on the former place and height of band is the same. I can describe it this way, on detail band there are fields a and b: a showb hidea showb hidea showb conditionally show (for example after every 3 a rows)a showb hidea show... And the result should be aaabaaab but is a_ a_aba_ a_ a Link to comment Share on other sites More sharing options...
lucianc Posted October 9, 2006 Share Posted October 9, 2006 Is there any other element in the band which shares vertical space with the element you want to hide? This would explain why the vertical space is not reclaimed.. Regards,Lucian Link to comment Share on other sites More sharing options...
J_N Posted October 9, 2006 Author Share Posted October 9, 2006 The are field and static text next to each other, but they have the same height are are top aligned. Strange - I deleted field and created it again and now all is ok - vertical space is gone. 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