Folks, I've been using the DataGridView control for years in anger and I
thought I'd seen it all, but I've got a problem that's been unsolvable for
over a year.

 

Clicking a CheckBox cell in the top row of the grid does not change the
value. In the screenshot you can see the selected cell that will not
accepted my mouse click and become checked. It's important to note that this
problem only happens on the first/top row. Clicking a CheckBox in any other
row works correctly. Pressing the Space key on the top CheckBox does change
it, so the problem seems mouse related.

 



 

I can't find any specific web search references to this problem. I'm
familiar with the CurrentCellDirtyStateChange  event and how you have to
force the cell to EndEdit, but it makes no difference. I've added various
BeginEdit, EndEdit, etc events and tried forcing a commit in different
places, and I've tried updating the underlying data source and refreshing
and much more, but nothing makes any difference. I can see mouse click
events firing, but on the first row they seem to be swallowed and ignored.

 

I'm simply out of ideas. So before I give up and throw my hard drive into
the sewerage drain I thought I'd ask in here just in case someone has seen
this. I'll keep web searching anyway.

 

Greg

<<image001.png>>

Reply via email to