Jump to content
  • CSV and XLS write.header and exclude bands properties not working

    Assigned User User_306070
    CategoryBug report

    I am trying to take a tabular report, and export it to csv and/or xls. I have the following properties set in my .jrxml:






    The hiding of the individual bands does NOT work in iReport. When i upload the same .jrxml file to JasperServer v5.0, the band hiding works, but the write.header flag seems to have no effect and i end up with just data, and no header row.

    User Feedback

    Recommended Comments

    Changed Assigned User from - to @User_306070

    I think this is due to the lack of Metadata exporters support in Jasperserver 5.0.If you look at the api's documentation you'll see that the net.sf.jasperreports.export.xls.write.header is only used by the metadata based reports, and Jasperserver 5.0 doesn't include them. For the bands, no idea, sorry.http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.export.xls.write.headerProperty that specifies whether the export header (the column names) should be written or not, in the metadata-based Excel export.
    Link to comment
    Share on other sites

  • Create New...