Jump to content
We've recently updated our Privacy Statement, available here ×
  • Stop Subreports showing on Excluded Bands for CSV or XLS


    michaelzhou

    Issue Description:

    [toc on_off::hide=1]

    What is involved with stopping a Sub-Report displaying data on an excluded band? We have tried both of the below without success:

    <property name="net.sf.jasperreports.export.csv.exclude.origin.subreport.repo:sub1-myreport.jrxml" value="detail"/>

    <property name="net.sf.jasperreports.export.csv.exclude.origin.subreport.sub1-myreport.jrxml" value="detail"/>


    Resolution:

    Please find below a sample on having a subreport named "AddressReport" have its two bands, columnHeader and detail, excluded from the CSV export. In addition, please note the "AddressReport" is the name of the subreport in its own JRXML, independent of the name/subreport expression in the master report.

    <property name="net.sf.jasperreports.export.csv.exclude.origin.report.mysubreport0" value="AddressReport"/>

    <property name="net.sf.jasperreports.export.csv.exclude.origin.band.mysubreport0" value="columnHeader"/>

    <property name="net.sf.jasperreports.export.csv.exclude.origin.report.mysubreport1" value="AddressReport"/>

    <property name="net.sf.jasperreports.export.csv.exclude.origin.band.mysubreport1" value="detail"/>


    Ref. Case #00027832 -- 06:06, 10 August 2012 (UTC)

     


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...