kheaps Posted May 28, 2014 Share Posted May 28, 2014 Not sure if this is a bug.... I have a report with multiple sub reports. The report has the following csv-related properties set.<property name="net.sf.jasperreports.export.csv.exclude.origin.band.1" value="columnHeader"/><property name="net.sf.jasperreports.export.csv.exclude.origin.report.1" value="*"/><property name="net.sf.jasperreports.export.csv.exclude.origin.keep.first.band.2" value="columnHeader"/><property name="net.sf.jasperreports.export.csv.exclude.origin.keep.first.report.2" value="*"/><property name="net.sf.jasperreports.export.csv.exclude.origin.band.3" value="pageFooter"/><property name="net.sf.jasperreports.export.csv.exclude.origin.report.3" value="*"/><property name="net.sf.jasperreports.export.csv.exclude.key.SpaceForNotes" value="SpaceForNotes"/><property name="net.sf.jasperreports.export.csv.exclude.key.Logo" value="Logo"/><property name="net.sf.jasperreports.export.csv.exclude.key.TitleArea" value="TitleArea"/>[/code]Columns from the subreports align properly with each other initially. However, after the spot where a page break would otherwise occur, the columns are all shifting left by one spot (although in other revisions of the report, this # was more at times). Is there a solution to this?Not super important, but would like the CSV to work properly if it's going to be available (and I don't want to more-generally turn off the CSV exporter at the server level). Link to comment Share on other sites More sharing options...
icemann Posted April 19, 2016 Share Posted April 19, 2016 This is a quite late answer, but you might neeed to check the each columns reportElement (jrxml) attributes so that it matches with the Detail's reportElementfor example make sure the reportElement, say,<reportElement mode="Opaque" x="3411" y="0" width="203" height="20"> for each <columnHeader> matches with corresponding values in "<detail>" 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