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
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.
Attachment | Size |
---|---|
![]() | 29.08 KB |