.NET DataGridView Scroll In View

  • Thread starter Thread starter NK
  • Start date Start date
N

NK

Hi,

I am trying to scroll down to a specific row in DataGrid. I am able to
select the row at runtime using "selected" property but not able to get
that row in view.

For example, if I would like to scroll down to a 15th row in the
datagrid. How can I achieve this at runtime?

Please help! Thanks!

NK
 
hi Nk,

I would do this

dataGridView2.FirstDisplayedCell = dataGridView2[0, 15];


did you find another approach? i'd be interested

thanks
Brian
 
Back
Top