I’m working with a data grid that contains a Combo Box Column, but editing this Combo Box (by simply clicking on it) gets annoying sometimes, since one must click at least twice to change the value of that field. I want to change that behaviour, so I thought it would be very simple: just create a OnMouseOver event to make the mouse-overed combo box be selected, but the only available event is the Disposed one.
Is there any way to change this behaviour?
I just dealt with the same problem, and solved it by setting the
DataGridView.EditModetoEditOnEnter.If you don’t like that behaviour for all your other columns, I found this suggestion for placing in the
CellEnterevent:I haven’t tried it, but it looks promising. The same technique is discussed on this question.