P
Paul Jones
Hi,
I need to know when user cancelled adding a new row to the DataGridView.
Is there a way how to do it? I explored the DataGridView events but
failed to find any usable one.
The thing is I need to do something when user adds a row to the DGV.
This is done in the DGV_UserAddedRow. In case user starts filling one
cell in the NewRow row, UserAddedRow is fired. If he/she decides not to
add this row and cancels it by pressing ESC, the row disappears, but
code in the DGV_UserAddedRow was already executed and I need it to be
undone. How?
Thanks for any help.
With regards
Paul Jones
I need to know when user cancelled adding a new row to the DataGridView.
Is there a way how to do it? I explored the DataGridView events but
failed to find any usable one.
The thing is I need to do something when user adds a row to the DGV.
This is done in the DGV_UserAddedRow. In case user starts filling one
cell in the NewRow row, UserAddedRow is fired. If he/she decides not to
add this row and cancels it by pressing ESC, the row disappears, but
code in the DGV_UserAddedRow was already executed and I need it to be
undone. How?
Thanks for any help.
With regards
Paul Jones