How to prevent group footer starting on new page?

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

Hi,

In my report group footer is moved to next page which is causing empty group header in few pages.

I tried isPreventOrphanFooter= true on group but it gives me error.

Is  there any alternative to prevent moving only group footer to next page?

Kindly hel me on this I am new to jasper report.

 

Attached my jrxml file:

I am writing query in jrxml itself and currently i added dummy values but jrxml looks exactly same. Group footer is moved  to next page when details of the group ends in the end of the page.

 


 

Attachments: 
Dev-1's picture
61
Joined: Dec 20 2021 - 11:00pm
Last seen: 3 months 4 weeks ago

I added the code .Please look into it

Dev-1 - 4 months 2 weeks ago

Can you please provide any solution for this? I thought of using keepTogether=true but it leaves huge space when only one row present in the group. I tried most of the things but nothing has really worked. I am struck now. It would really help me if anyone provide solution.

Dev-1 - 4 months 2 weeks ago

3 Answers:

Please provide the code of your report.

bigalex's picture
2206
Joined: Apr 12 2019 - 9:15am
Last seen: 3 months 3 weeks ago

If the report is not set as Ignore Pagination, it is all about setting the correct height in all bands. That means you should know how many rows in the Detail band will occupy available space on the first page. Adding a border to the field may help see how much space the area is occupied.

bigalex's picture
2206
Joined: Apr 12 2019 - 9:15am
Last seen: 3 months 3 weeks ago

Hi,

It's not possible to check how many rows detail band occupy in each page because details are dynamically increases sometimes based on field value. Actually it's not static. Can you please tell me Is there any solution in this case?

 

Thanks,

Dev

Dev-1's picture
61
Joined: Dec 20 2021 - 11:00pm
Last seen: 3 months 4 weeks ago
Feedback