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

Excluded Band causing blank pages


landon.isaacs985

Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...