Jump to content
JasperReports Library 7.0 is now available ×

Exporting my Report to Excel


escalhao3

Recommended Posts

Hi everyone!

I've benn trying to save my report to excel but when I do the layout gets all messy and some things that are displayed in the ReportViewer just isn't in the excel file, for exemple, some frames...

I'll post both images so you can see what I'm talking about. The first one is the  report on the ReportViewer and the second one is on the Excel file.

ReportViewer.JPG.17f324524c70ee78d6eb2d665d685fa9.JPG

 

So far, so good...

Excel.JPG.dac2b7d87b5294b9ee1cd477f3c47ab3.JPG

I don't know if this happens because of the layout or I didn't configure something (or did it wrong). 

I hope you can help me!

Regards,

Felipe

ReportViewer.JPG.8baf529ea05e9540ef253a39160baf5d.JPG

Excel.JPG.918c61428b81782f63f90c14a5d5f7d3.JPG

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Try  net.sf.jasperreports.export.xls.remove.empty.space.between.columns ; this will clean up some of the mess. Refer here for more details, that and google will get you through: http://jasperreports.sourceforge.net/config.reference.html

Also, you need to line up your column witdths in the jrxml as much as possible. See how you've got different widths between POD summary and VESSEL summary? 

Link to comment
Share on other sites

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...