Board index » Visual Studio » DATAGRIDVIEW - Scrolling few rows by code
|
RobertCoughtrey
|
|
RobertCoughtrey
|
DATAGRIDVIEW - Scrolling few rows by code
Visual Studio233
Hello. I have a DataGridView with a lot of rows. I created a sort of "Goto" . I used the CurrentCell property. The DataGridView scrolls down and the new cell is now visible and it is blue selected. But it is always displayed at the bottom (= the last row) of the rectangled visible DataGridView area and I'd like to have it displayed in the middle so I'd like to scroll the DataGridView down, let's say about 4-5 rows (while keeping the blue selection on the CurrentCell I jumped to) - |
