davidgolodetsky Posted June 24, 2019 Share Posted June 24, 2019 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? Link to comment Share on other sites More sharing options...
matt.wlezen Posted July 9, 2019 Share Posted July 9, 2019 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: falseconst 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 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