sudama.patidar_1 Posted July 25, 2016 Share Posted July 25, 2016 I want to set some additonal parameter only when exporting the report. How can i achieve this using visualize.js. Link to comment Share on other sites More sharing options...
dpetzold Posted November 4, 2016 Share Posted November 4, 2016 You could use the export function for Visualize.js and simply only have it run when some action (or paramater) is being passed into your embedded report.$(function() { $("#filterTen").on('click', function() { limitResults(10); });$("#filterReset").on('click', function() { resetFilters(); });$("#ExportButton").on('click', function() { slaveReport.export({ outputFormat: $("[data-paramId=exportFormat]").val() }, function(link) { var url = link.href ? link.href : link; window.location.href = url; }, function(error) { console.log(error); }); });});[/code] 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