Jump to content
Changes to the Jaspersoft community edition download ×

Keeping subreports on one page


ktrinad

Recommended Posts

By: Barry Smith - barry841

Keeping subreports on one page

2002-09-19 08:18

I have a complex report which uses subreports to create the various blocks on the report and I want to ensure that if a block (ie. subreport) is too large to fit on the remainder of the current page that it is printed on a new page. I've tried the various options in the reportElement for the subreport to work. How can I ensure the entire subreport is kept together on a page (it will never be large enough to take up over a page by itself).

 

 

By: Teodor Danciu - teodord

RE: Keeping subreports on one page

2002-09-26 07:31

 

Hi,

 

The only trick that come through my mind right

now is to introduce some dummy groups and

to use the "minHeightToStartNewPage" attribute.

 

I hope this helps.

Teodor

 

 

 

By: Teodor Danciu - teodord

RE: Keeping subreports on one page

2004-01-09 09:21

 

Hi,

 

On a second thought, use isSplitAllowed="false"

for the band that contains your subreport.

 

I hope this helps.

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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