Displaying a row as active in datagridview

  • Thread starter Thread starter DBC User
  • Start date Start date
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?
 
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
 
Back
Top