msiljegovicgmail.com Posted April 28, 2016 Share Posted April 28, 2016 Hi all, I have report template and requirement to exclude part of table when exporting report to excel. Report have summary band with table component inside. I set up properties as below. It works for columnHeader, but cannot make it work work for columnFooter and tableFooter. <property name="net.sf.jasperreports.export.xlsx.exclude.origin.keep.first.band.1" value="columnHeader"/> <property name="net.sf.jasperreports.export.xlsx.exclude.origin.keep.first.report.1" value="*"/> <property name="net.sf.jasperreports.export.xlsx.exclude.origin.band.4" value="columnFooter"/> <property name="net.sf.jasperreports.export.xlsx.exclude.origin.report.4" value="*"/> Anyobody know the trick? Thanks Link to comment Share on other sites More sharing options...
Solution ghudson_1 Posted April 28, 2016 Solution Share Posted April 28, 2016 Table column footer cells actually end up rendering as a page footer band in a subreport generated for the table. Therefore if you want to exclude the column footer cells you'll need to define a property for pageFooter. <property name="net.sf.jasperreports.export.xlsx.exclude.origin.band.1" value="pageFooter"/> A defect or feature request for improvement in the product for this issue has already been filed against JR Library 6.2.x Link to comment Share on other sites More sharing options...
ghudson_1 Posted April 28, 2016 Share Posted April 28, 2016 nm Link to comment Share on other sites More sharing options...
msiljegovicgmail.com Posted April 28, 2016 Author Share Posted April 28, 2016 Thanks,would never guess without your help. 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