DataGridView - force begin and end edit

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the following code in a dropdown list to set some cell values. How can
I force a "begin edit" and "end edit" before and after I set each cell value?

I have a bunch of code in the scriptDataGridView_CellEndEdit that needs to
fire for each cell and I am not/cannot use cellchanged for now.

// set new timer value for each row
for (int i = 0; i <= numRows; i++)
{
scriptDataGridView[2, i].Value = newTimerValue.ToString();
}
 

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