Jump to content
We've recently updated our Privacy Statement, available here ×

Extra columns in excel report


javalogan
Go to solution Solved by cmatthews,

Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...