Jaspersoft - List consuming space when empty

Asked

Viewed 276 times

0

I have a report that has a group header and within it there are two lists.

inserir a descrição da imagem aqui

I made a treatment via expression to print each of the lists only when there is content for each of them, but when one of them is not displayed the report leaves an improper blank.

inserir a descrição da imagem aqui

I would like to know how to treat this blank. I tried to mark the properties isRemoveLineWhenBlank and isBlankWhenNull but did not solve the problem.

  • Can you handle your collection in Java? If so, you can remove the reference from that line without content in the application instead of delegating it to Jasper. It would be nice to know the . jrxml structure of this report as well.

  • 1

    Hi @ℛɑ?æ, I managed to solve it in another way. I separated each list into a different group header and treated the direct display in the band. Anyway thank you for the contact.

  • Beauty @Luís Felipe, glad you were able to solve and shared the solution!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.