Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
374
Scrollbar position
posted

is there any way to track the scrollbar's position? 

I want to be able to return to a certain spot automatically after processing some data.

Parents
No Data
Reply
  • 374
    posted

    I wanted to clarify because I dont think I was very clear. I am re-binding my data to the grid and I want to jump to the same (or as similar as possible) position before my rebind.  I can grab the active row index before I unload my data and then reset the active row to that index afterwards.

    However,

    1) that doesn't bring the scrollbar to the same spot as it was before a datareload, it just brings the row into view near the bottom of the grid.

    2) if that active row was deleted, I think this causes issues because that row isn't there anymore.

    What I'm looking for is a scrollbar position, independant of the rows if possible.

     

Children