Jump to content

Separate Excel tab for each subreport?


estatham

Recommended Posts

I have a master report with multiple sub reports, each of which I want to put on a separate Excel tab. Currently each subreport appears as the sole item within a detail section, and each of these detail sections is followed by a further detail section which contains only a page break. I have tried using the net.sf.jasperreports.export.xls.break.after.row property on the subreport, but that doesn't work. I have tried inserting a "dummy" text field after each subreport, to force a row, and putting the property on there. But that messes up the pagination. I tried using a PrintWhenExpression on the dummy row to suppress printing, but if the row doesn't print, the excel break is not evaluated.
I know there must be a simple way to do this, but I can't see it. I'm using JasperReports/iReport 3.7.0
Please advise.
thanks
 
Link to comment
Share on other sites

  • 2 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...