Prevent DataGridView to move to next row after edit?
-
Is there a way to prevent dataGridView to move to the next row after editing the cell? It happens after EndEdit event, so handling EndEdit doesn't help. Tnx in advance Dragan Matic
-
Is there a way to prevent dataGridView to move to the next row after editing the cell? It happens after EndEdit event, so handling EndEdit doesn't help. Tnx in advance Dragan Matic
-
Did you try saving the current cell address while editing and on the KeyDown event handler go back to the address you saved?? just a thought:)
Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)
Yes, the problem is that currentCell is moved after CellEndEdit event. I can reposition current cell back to coordinates I want in CellEndEdit event, but something after that happens in DataGridView that moves currentCell one field down, and I simply can't find out where it is happening.