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
75
How to automatically scroll to the selected row
posted

Hello,

In the code behind, I select the last row in the grid.

var selectedRows = this.webDataGrid.Behaviors.Selection.SelectedRows;
selectedRows.Add(this.webDataGrid.Rows[rowIndex]);

The row is selected but I don't see it because of the scroll pane.

How to automatically scroll to the selected row?

Thanks.