Jump to content
Changes to the Jaspersoft community edition download ×

Report element to be placed to one page as a whole


Recommended Posts

My report consists of several groups containing the crosstab at group footer. It is desirable that each group placed at one page as a whole(not splitted to several pages).


E.g. if the group fit on remaining page place as a whole, it will be placed at this page, otherwise it will be placed to next page.

Meanwhile some short groups can be placed to the same page one after another.


Is it possible?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic



The best way to prevent a group from splitting would be to make the group a subreport and place it in a band with isSplitAllowed="false".

However, I think the drawback would be that if the group happens to start on a new page and takes more the one page, the splitting not allowed will cause the engine to give up and restart the group on a new page, leaving you with a almost empty page in between.


Another aproach would be to rely on the minHeightToStartNewPage attribute of the group, to prevent groups from starting too low on a page.


I hope this helps.


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