A
azerty
Hello
I have a DatagridView with a checkBoxColumn.
When I Check with mouse a row (and so toggle the checkBox) I want launch a
EndEdit() method on my DataGridView
I can do this with an tips : I create a class inherits from
DataGridViewCheckBoxCell and plug an instance on my column by CellTemplate
property, this class override OnMouseDown method ...
BUT I want launch something like CellValidating event on my datagrid (or
somewhere) to intercept the check and perhaps cancel the user's change
(becaule a rule will not be respected)
this event is not launched !! :-( It is just launched When I change the
current cell !!
How can I do this ?
It seem very basic functionnality, It is certainely possible to do this, but
How ????
thanks for your help !
I have a DatagridView with a checkBoxColumn.
When I Check with mouse a row (and so toggle the checkBox) I want launch a
EndEdit() method on my DataGridView
I can do this with an tips : I create a class inherits from
DataGridViewCheckBoxCell and plug an instance on my column by CellTemplate
property, this class override OnMouseDown method ...
BUT I want launch something like CellValidating event on my datagrid (or
somewhere) to intercept the check and perhaps cancel the user's change
(becaule a rule will not be respected)
this event is not launched !! :-( It is just launched When I change the
current cell !!
How can I do this ?
It seem very basic functionnality, It is certainely possible to do this, but
How ????
thanks for your help !