Hi,
I would like to lean about visualize.js a bit more deeper.
I just got one thing to ask for more comprehensive.
Can I reuse report instance that already created?
For example:
visualize( { auth:{ name: "superuser", password: "superuser" } }, function(v){ var report = v.report({ resource: "old uri", container: "old container", error: function(err){ alert(err.message); } }); $("#select_dropdownList").change(function(){ report.resource = "new uri...."; report.container = "new container id"; report.run(); }); } );
Is it possible to do that?
Thanks
1 Answer:
Posted on September 19, 2014 at 12:49am
There's an example of what's you're trying to do in the "JasperReports Server Programming Guide".
http://community.jaspersoft.com/documentation?version=12873
Working example in the following page:
http://lbicloud.lakeel.com:85/JinjiFileupload/