kvnsdr
asked on
DataGridView Scroll To Row?
I'm trying to make a "Quick Find" for a dataGridView.
I have a datagridVeiw filled with 40,000 rows and need to scroll the dataGridView to the number typed into a textbox.
The textBox event will fire the Quick Find code, but not sure how to scroll the loaded grid.
[datatable]
PrimaryKey, Number, Description
I have a datagridVeiw filled with 40,000 rows and need to scroll the dataGridView to the number typed into a textbox.
The textBox event will fire the Quick Find code, but not sure how to scroll the loaded grid.
[datatable]
PrimaryKey, Number, Description
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sorry - I meant to select Proposed solution for that.
The actual answer to the question is to use DataGridView.FirstDisplaye dScrolling RowIndex = (index of the selected row).