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

CSV Column alignment


ioannis.latousakis
Go to solution Solved by ernestoo,

Recommended Posts

My report is ok on most formats, although CSV is not. The values for the third (last) column, are actually appenedned on a new row of the second column:

Col1          Col2          Col3

                 col3Val

col1Val     col2Val

 

I found some similar questions, with answer to look at a specific forum (http://jasperforge.org/jasperreports/faq.html) but that doesn't seem to work any more.

I use reports 5.6.1 and latest  comunity jaspersoft studio 6.1.1

 

The xml file is upload on dropbox here: https://www.dropbox.com/s/4ctyzko9tiy5cdd/no_identifiers.jrxml?dl=0

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

Ultimately your problem is one of alignment...your fields are not on top of each other so the tool is confused as to what to do! the issue is explained well in the FAQ, here's an updated link: http://community.jaspersoft.com/wiki/making-html-xls-or-csv-friendly-reports

Another trick you might appreciate, for example, when you export to CSV you probably dont want the "Page 1 of 1" stuff showing, you can read this article: http://community.jaspersoft.com/wiki/example-suppressing-headers-main-and-sub-report-elements-when-exporting-xls

Hope that helps

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