javalogan Posted August 1, 2012 Share Posted August 1, 2012 Hi, I'm using JasperReports 4.0.1. When I export a report to EXCEL, there seems to be many extra columns and rows if the reports elements are not aligned perfectly.I have tried using the following code but the extra columns and rows still show. I'm trying to use the same report for PDF exporting as well as EXCEL exporting but I'm sure there must be an easier way to get rid of the extra columns than to align ALLLLL of the elements perfectly.Anyone have any suggestions? :) Code: exporter.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, Boolean.TRUE);exporter .setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS, Boolean.TRUE);[/code] Link to comment Share on other sites More sharing options...
Solution cmatthews Posted August 1, 2012 Solution Share Posted August 1, 2012 See this related post,http://community.jaspersoft.com/questions/543494/unwanted-merged-rows-excel-export I have been using Jasper Reports for 5+ years now and haven't found a solid way to directly deal with this, work arounds are your best bet I think. Link to comment Share on other sites More sharing options...
techogre Posted May 29, 2014 Share Posted May 29, 2014 I found the same issue when creating a report and didn't allign the text boxes perfectly. Any missalignment, even by a single pixle, will add extra tabs and rows. 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