DataGridView question

  • Thread starter Thread starter Philipp
  • Start date Start date
P

Philipp

Hi NG,

When the user is allowed to add new rows to a datagridview, an new row is
automatically added when the user edits a field.
Now I want a new row added when a cell in the last row gets focus.

Can anyone point me in the right direction?

Thanks

Philipp
 
Hello Philipp,
Hi NG,

When the user is allowed to add new rows to a datagridview, an new row
is
automatically added when the user edits a field.
Now I want a new row added when a cell in the last row gets focus.
Can anyone point me in the right direction?

You can listen to the CellEnter event. When recieving the event you can
check to see if it's the last cell on the last row and if so, manually add
a row to the DataGridView
 
Back
Top