Jump to content

Problem with moving elements when blank page in JasperReports

Recommended Posts

The problem arises in JasperReports when I have, for example, 3 pages: 1, 2 i 3.
-On the first one, the text element appears: Page1
-On the second one the text element appears, which disappears because it is null and I use remove line when blank
-On the third one the text element Page3 appears.

Why doesn't the text from the third page go to the first one, but there is page 1 with "Page1" and page 2 with "Page3" and the blank one disappears. I am using: 'remove line when blank', 'print when expression' and 'split-type' but still the elements from the third page do not want to move to the first one. They move one page higher, but why don't they move two pages anymore






I would like the elements to move up whenever there is blank space, and not leave so much blank space despite using remove line when blank and split type: Immediate. I found a function like ignore Pagination, but unfortunately I can't use it because my template has to be numbered in the bottom right corner. But can I get a similar effect in some way?


Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.

Link to comment
Share on other sites

  • 3 weeks later...

Okay yes it is true. In your case it worked, after resizing the element and band. But here it's about the case when in this large element size that I made we will make 20 variables that disappear then the element from the third party will not move anymore as it is in your solution. Here is the problem when a lot of fields disappear and there are a lot of pages in the template

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