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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top