Use Case
Customer created an Ad Hoc Table Report with a group. By default, the report may display more than 1 group in a single page.
Customer would like to force a page break after every group of the report.
Resolution
Ad Hoc Engine automatically creates a Group element in the generated Ad Hoc Table Report if underlying Ad Hoc View has a group.
The Group element has a property called 'Start New Page' (isStartNewPage) :
http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/JRGroup.html#isStartNewPage--
If this option is set to True, it forces a page break at the end of the group (that is, at the beginning of a new group).
By default, the property is set to False in the generated Ad Hoc Report.
This can be changed by opening the Ad Hoc Report in TIBCO Jaspersoft® Studio, 'Repository Explorer' tab and setting the property value to True:
Solution tested with TIBCO JasperReports® Server v.7.1.0
Recommended Comments
There are no comments to display.
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 accountSign in
Already have an account? Sign in here.
Sign In Now