Search code examples
jasper-reportsexport-to-exceljasperserver

JasperReport exporting to xlsx format works fine with java code but not with jasperserver


I am working on a complex report structure with jasper report studio. Everything was fine until I publish the report on jasper server. I am not getting the same output when exporting to xlsx format.

This is the xlsx format generated by JRXlsxExporter class enter image description here

And this what i am getting from jasper server export to xlsx format enter image description here


Solution

  • After setting the property collapseRowSpan to false of the bean xlsExportParameters declared in the /jasperreports-server-cp-6.3.0/apache-tomcat/webapps/jasperserver/WEB-INFapplicationContext.xml file the xlsx export works fine just like expected.