HA
haneefm
Syncfusion Team
December 4, 2007 08:16 PM UTC
Hi Julie,
You need to check the CurrentCell.IsInEndEdit and CurrentCell.IsInDeactivate to detect the cancel changes in a CurrentCellEditingComplete event. Below are the codes:
void gridControl1_CurrentCellEditingComplete(object sender, EventArgs e)
{
GridCurrentCell cc = this.gridControl1.CurrentCell;
if (cc.IsInEndEdit)
{
Console.WriteLine("EndEdit Called");
}
else if (cc.IsInDeactivate )
{
Console.WriteLine("Deactivate Called");
}
else
Console.WriteLine("Cancel Called");
}
Best regards,
Haneef