Visualize jumps to the top after refresh

0

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?

davidgolodetsky's picture
Joined: Jun 20 2019 - 1:05am
Last seen: 2 days 16 hours ago

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

matt.wlezen - 1 week 5 days ago

0 Answers:

No answers yet
Feedback
randomness