On Edit
DGV Framework Provides Fluent API callback methods on binding to enable you perform other operations e.g. Update changes on database.
The OnEdit()
Event provides a callback which is invoked when a cell on the datagridview is edited.
_dataGridView.OnEdit<User>( (user,cell) =>
{
MessageBox.Show(user.Name);
return true; //return false to revert the edits
});
Last updated
Was this helpful?