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
150
Scroll To Row
posted

I have a grid with many rows in it. If I remove a row my refresh logic is moving the scroll bar back to the top position. I can set the selected row properly after the remove, but the row is not visible to the user. Is there a way to scroll to the active or selected row?

Parents
No Data
Reply
  • 150
    posted
    private void ResetSelectedRow( int rowIndex )

    {

    _tableUltraGrid.Rows[rowIndex].Selected =
    true;

    _tableUltraGrid.ActiveRowScrollRegion.ScrollRowIntoView( _tableUltraGrid.Rows[rowIndex] );

    }

Children