Hi Sahon,
You can handle these in the RowLeave event. Here is the code snippet.
private void gridDataBoundGrid1_RowLeave(object sender, Syncfusion.Windows.Forms.Grid.GridRowEventArgs e)
{
try
{
dt.AcceptChanges();
}
catch
{
MessageBox.Show("Enter the Column Value in \"PrimaryColumn\" Correctly");
e.Cancel = true;
}
Console.WriteLine("Row Leave Event");
}
Refer to
sample for more details
Let us know if you further assistance,
Regards,
Madhan.