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

Problem with sub reports in HTML


energex1

Recommended Posts

We are trying to produce reports of an HTML format that contain sub reports, they work fine exporting to PDF using

JasperExportManager.exportReportToPdfFile (jasperPrint, fullFileName)

But don’t include the sub reports when using the API

JasperExportManager.exportReportToHtmlFile (jasperPrint, fullFileName);

I.e. sub reports are not generated on HTML page.

We also tried.

JRHtmlSaveContributor jr = new JRHtmlSaveContributor(); 

jr.save(jasperPrint, new File(fullFileName));

Can someone help please.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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