Do not split subreport

Hi all, I have a report with a bunch of subreports in a detail band, and I would like them to never split. As in, if it doesn't fit on the page, I want the subreport to start on a new page. But no matter what I do, it always splits. I tried putting every subreport in a separate detail band, for which I've tried and tested every split type. 

I also tried putting the tag splitType="Prevent" in the subreport brackets, but it doesn't allow me to do that. I really really wish that would be an option. 

 

TL;DR Jasper should never split subreports

martijnceha's picture
Joined: Oct 15 2019 - 4:28am
Last seen: 3 months 1 day ago

1 Answer:

Hello,

Found the similar issue at below community URL where it was solved by setting Split Type property of  Detail band to "Prevent"

https://community.jaspersoft.com/questions/848392/problem-splitting-subr...

You can try to set this property in your main report details band. Attached the screenshot of this setting.

Hopefully this will help you in your case.

Attachments: 
AttachmentSize
Image icon split_type_studio.png29.08 KB
jphadtar's picture
1133
Joined: Mar 20 2022 - 10:51pm
Last seen: 23 hours 44 min ago
Feedback
randomness