all groups > vb.net controls > june 2006 >
You're in the

vb.net controls

group:

datagridview programmatic row navigation


datagridview programmatic row navigation My News
6/18/2006 3:00:49 PM
vb.net controls:
How do I update my datagridview with a record that, once added, is sorted
into the datagridview, and then programmatically go to and give focus to the
new item in the dgv?

Basically, I just need to be able to Select a row, inside my code, that
moves to the specific row I need and give that row focus in the dgv so it
displays as the selected row.

I can do a dg.rows.selected = true

It will have the row selected but if it is off the region of the visible
window that was in display before the add, it does not move the dgv to show
it.

Thanx.
daver

Re: datagridview programmatic row navigation hritesh chaudhary
7/4/2006 7:15:17 AM
did u get anything on this? I am facing same problem and requirement. pls. revert back if you have found any solution of this problem
---
AddThis Social Bookmark Button