hozawa Posted September 25, 2014 Share Posted September 25, 2014 I'm having a problem with JasperReports Server 5.6.1 (and other versions too) with inserting page breaks when I export to xlsx.Page breaks works as expected on web pages and on Jaspersoft Studio (in xlsx format), but JasperReports Server does not.Has anybody else experienced this problem? It's kind of strange that JasperReports Server does not work in a similar fashion as Jaspersoft Reports. Link to comment Share on other sites More sharing options...
Solution hozawa Posted September 25, 2014 Author Solution Share Posted September 25, 2014 This is caused by differences in default values. Setting properties resolved the problem.Resolved by adding the following properties in the report:<property name="net.sf.jasperreports.export.xls.collapse.row.span" value="false"/> <property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="false"/>[/code]There's a bug in JasperReports 5.2 which seems to ignore these properties so be sure use 5.6.x or above. Link to comment Share on other sites More sharing options...
Recommended Posts
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