.NET DataGridView Scroll In View

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
 
G

Guest

hi Nk,

I would do this

dataGridView2.FirstDisplayedCell = dataGridView2[0, 15];


did you find another approach? i'd be interested

thanks
Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top