We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Row added event

Hi together, I have got a gridgroupingcontrol. What event can I use to handle the action if a user adds a new row with the asterisk symbol?

1 Reply

AD Administrator Syncfusion Team August 22, 2005 11:08 AM UTC

I am not sure exactly when you want to catch adding a new reocird, but you can use the CurrentRecordContextChange and test the e.Action value to catch this action at different points.
private void gridGroupingControl1_CurrentRecordContextChange(object sender, CurrentRecordContextChangeEventArgs e)
{
	if(e.Action== CurrentRecordAction.BeginEditComplete && e.Record is AddNewRecord)
	{
		Console.WriteLine("starting to edit new record");
		//starting to edit new record
	}
}

Loader.
Live Chat Icon For mobile
Up arrow icon