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

kum_rahul

Members
  • Posts

    4
  • Joined

  • Last visited

kum_rahul's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. You have to create a list of JasperPrint object : List jasperPrintList = null; JasperPrint jasperPrint = JasperFillManager.fillReport(inputStream, jrParameters, jrDataSource); jasperPrintList.add(jasperPrint); and to export, just set an exporter parameter like this : // Generate the global report. final JRPdfExporter exporter = new JRPdfExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT_LIST, jasperPrintList); exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, outputStream); exporter.setParameter(JRPdfExporterParameter.IS_CREATING_BATCH_MODE_BOOKMARKS, Boolean.TRUE); exporter.exportReport();
  2. Is it possible to create excel file with continous rows while exporting the jasperreport,also every column of the report should come as one individual column. I have tried to export it to excel but it merges 2-3 columns.Is there any way to avoid merging of column at the time of exporting?
  3. Is it possible to export jasperreport to the second page of pdf or second sheet of excel and the first page of pdf as well as first sheet of excel should contain some large text information.
  4. I have to change dynamically the number of columns in report.The problem is like the following. There is a list box in jsp page,that contains the column names.User selects columns in list box that are printed in report.Therefore,i must create report dynamically.How can i organize this report? I need to use dynamics column on a report with a java datasource. is it possible for jasper to use a list of elements to create dynamics columns ?
×
×
  • Create New...