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

Interactive Image with Jasper


salemfahad

Recommended Posts

Hi,

I have been introduced with Jasper for a few weeks now. Until now, all the reports I have created are static and rigid. I wanted to know if there's a way I can make interactive reports with Jasper. I want to use some basic functionalities like clicking image for full-width view, zoom, download etc. Is there any way I can do that? 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Check the jasperstudio guide how to add 3 party chart libraries, you most likely are going to make use of the same thing. 
Making use of the custom visualization component.

You could add unique html id or class to the elements and load your own jsp file with custom javascript file.  
net.sf.jasperreports.export.html.id
net.sf.jasperreports.export.html.class
There are other properties yo ucould also make use of for html.
net.sf.jasperreports.export.html.header
http://jasperreports.sourceforge.net/config.reference.html

...load your own jsp file with....
Bascially when you edit the report in the jasper server under the Customization tab the is a "JSP Location:"

You could also manipulate the css with custom theme in jasper. So if you get the jsp file maybe to add or remove a class tag with you can then manipulate with the css.

Hope this helps, you gone have to do a lot of try and test here. 

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