I'm using Visualize.js with Vue, when I change resource of my report(or simply filtering data) it's jumps to the top of the page.
What cause the problem?
And is there some sollution to use visualize with vue more smoothly?
0 Answers:
No answers yet
I ran into the same issue when using visualize.js to embed visualizations into a JSP page. There's a setting you can use to turn off the scrollToTop, by default it's set to true.
scrollToTop: false
const renderReport = function(v){
var rpt_props = v.report({
resource: RESOURCE_NAME,
container: "#SOME_CONTAINER",
scrollToTop: false,
params: { SOME PARAMS },
success: function(error){
},
error: function(error){
}
});
}
https://community.jaspersoft.com/documentation/tibco-jasperreports-server-visualizejs-guide/v71/api-reference-report