I have an application with a DataGridView on it and I would like to position the rows such that a specific row is at the top of the list.
I don't want a sort, I want a way to programmatically tell the DataGridView "scroll to the Nth row."
Any ideas?
I have an application with a DataGridView on it and I would like to position the rows such that a specific row is at the top of the list.
I don't want a sort, I want a way to programmatically tell the DataGridView "scroll to the Nth row."
Any ideas?
The DataGridView has a property called: FirstDisplayedScrollingRowIndex. Set that, and the row will then be at the top of the list.