Issue Description
I created a crosstab Ad Hoc view with more than 7 columns and saved it without any issues.
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'd like to modify the error message to be clearer for our end-users.
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
PLEASE NOTE: the solution described here requires modification one of core jar package and is not officially supported. It's up to your responsibility to apply it.
The error message is taken from jasperreports_message.properties file locate in WEB-INFlibjasperreports-X.Y.Z.jar file.
Obtain the file from the server
Unpack the file (it is a zip archive)
Open jasperreports_message.properties file in text editor, locate string
net.sf.jasperreports.exception.crosstabs.not.enough.space=Not enough space to render the crosstab
Change the error message to required value
Pack all files back into jasperreports-X.Y.Z.jar archive and replace it in WEB-INFlib folder (TIBCO JasperReports® Server should be stopped).
Solution tested with TIBCO JasperReports Server v.6.3.0
Ref. Case 01443237
Recommended Comments
There are no comments to display.