carlos.tax Posted April 9, 2021 Share Posted April 9, 2021 I'm using visualize.js and when I export a report in PDF format, I want instead of download the report opens in a new tab.I use the next code to download the report: report.export({ outputFormat: 'pdf' }).done(function (link, request) { var url = link.href ? link.href : link; window.open(url); }).fail(function (e) { alert(e.message); });[/code]Do you have any suggestion? 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