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
1705
How can I programmatically position a row vertically?
posted

I let the user doubleclick on the grid and pull up a second window to edit, and when they save their changes I refresh the grid.  How can I restore the grid to its previous scrolled position?  I need to highlight the row they had clicked on, and I'd like it to be in the same spot.

  • 170
    posted

    The scrollregions support a scroll row into view method which i think takes a row argument.  though having it exactly at the right place might be more tricky. I think you have a chance to store an index which represents how many scroll ticks there are and then have it scroll(tickcount) or something.