Jump to content
Changes to the Jaspersoft community edition download ×

How to reduce band height after hiding a field


J_N

Recommended Posts

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

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 show

b hide

a show

b hide

a show

b conditionally show (for example after every 3 a rows)

a show

b hide

a show

...

 

 

And the result should be

 

a

a

a

b

a

a

a

b

 

but is

 

a

_

a

_

a

b

a

_

a

_

a

Link to comment
Share on other sites

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...