Issue Description
I created a crosstab Ad Hoc view with more than 7 columns and saved it without any issues. But when I try to create a report using a custom developed template or any other except 'Actual Size', I get "Not enough space to render the crosstab." error.
I can create a report with 'Actual Size' only template, but I have to apply my custom one.
Resolution
The 'Actual size' template works for the crosstab because it allows the crosstab to freely stretch horizontally to the right.
The other templates impose the crosstab to fit within the page width, and if the crosstab has many row groups, the group headers do not fit within the page. As a result, "Not enough space to render the crosstab." error generated.
The 'Actual Size' template contains a special property that tells the engine to stretch the report horizontally:
<property name="com.jaspersoft.jasperserver.adhoc.actual.size" value="true"/>
To be added to a custom template, the property allows to generate reports with 'wide' crosstab and avoid the error.
This solution was tested with TIBCO JasperReports® Server v.6.3.0.
Ref. Case 01443851
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