Jump to content
JasperReports Library 7.0 is now available ×

Do not split subreport


martijnceha

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

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.

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