landon.isaacs985 Posted May 23, 2016 Share Posted May 23, 2016 We have a client that has requested that the XLS, XLSX and CSV exports export only the raw data in table format, not the full report with it's graphics/charts/etc.To test this, I placed a table in the Summary band of my report and added the following property:<property name="net.sf.jasperreports.export.html.exclude.origin.band.1" value="summary"/>Then, for xls, xlsx and csv I hid all the bands but summary.This works, however, when I run the report to HTML, while it doesnt show the table, it still is taking up about 10 blank pages at the end of the report.How do I suppress the blank pages being created by the summary even when it's excluded from HTML? Link to comment Share on other sites More sharing options...
hozawa Posted May 23, 2016 Share Posted May 23, 2016 I had a similar request and I just created a report regular and added parameter for export type and set Print When Expression to test the parameter.Can't say anything about the 10 blank pages on the HTML. I'm not getting it. Can you post a sample report (preferably that use sample datasource) that'll exhibit similar behavior? 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