Sakura Hana Posted September 19, 2014 Share Posted September 19, 2014 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(); }); });[/code]Is it possible to do that?Thanks Link to comment Share on other sites More sharing options...
hozawa Posted September 19, 2014 Share Posted September 19, 2014 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/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now