Jump to content

Recommended Posts

Posted

Hello

 

I downloaded the JasperServer Installer. I'm deploying reports using Jasper-Studio.

I need to customize the HTML reports I'm getting to add Sorting and Pagination to the Tables in the reports.

Is there a way to replace/customize the existing HTML Exporter (without downloading the entire source and build the server myself)?

Thanks

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

I believe the HTML exporter is implemented in Java, so there is no way to modify it without rebuilding the source code.  From the Ultimate Guide:

When users run reports in JasperReports Server, they can export the results in several formats, such as PDF and
ODT. If your users need to export to other file formats, you can create a custom export channel. You must
implement a custom Java class that generates the required file format then integrate the new class into the server.
As a result, this customization must be made in the source code of JasperReports Server.
Posted

Are you trying to embed a report in your web page? If so, another option is to just use JasperReports Server REST v2 API to export a report to html format and then to modify the returned html document.

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