Displaying a row as active in datagridview

D

DBC User

I have a feature in my program to seach, the search is working good.
When selected search item is found, I make the row as selected that is
working fine. But When I have more than 25 rows, if the selected rows
below 25, even the row is selected that doesn't become visible until
unless you scroll down. Is it possible to make the row visible without
scrolling down?
 
M

Mike Blake-Knox

if the selected rows
below 25, even the row is selected that doesn't become visible until
unless you scroll down. Is it possible to make the row visible without
scrolling down?

I'm setting mainDataGridView.FirstDisplayedScrollingRowIndex when I want
to bring a specific row into view.

Hope this helps.

Mike
 

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