Jump to content
Changes to the Jaspersoft community edition download ×

Visualize jumps to the top after refresh

Recommended Posts

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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){          }     });}


Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...