I have a Jasper report with bunch of subreports. From what I can see all the subreports are aligned and have the same size, but when it generates the csv file the rows doesnt align with row properly
following is the example csv output
,A,,,,,B
,,B,,,X
,Z,,,,,E
File destFile = new File(csvFileName);
JRCsvExporter exporter = new JRCsvExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint1);
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, destFile.toString());
exporter.exportReport();