0
Answer

DatagridView Last Row Error

Ask a question
SANDIP

SANDIP

16y
3.5k
1

Hi ,

               I have a small problem with datagridview last row.  Consider I have three rows in my datagridview. when I edit any cell from first or second row and hit 'Enter' key, datagridview fires CellLeave event, but if I do the same with the last row, I can't get CellLeave event neither I get any KeyPressed with e.keyChar as 'EnterKey' argument.

  I need to catch the event that could tell me that editing of the cell is finished for the last row.

 Thanks ,