Columns in datagridview

C

Cdude

How would one catch the event generated when one leaves a column and
moves to the next column in a datagridview? thanks in advance
 
M

Marc Gravell

I'd hazard a guess at CurrentCellChanged? Either via the IDE, or:

grid.CurrentCellChanged += SomeHandler;
....
void SomeHandler(object sender, EventArgs args) {
// do something fun
}

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top