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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Row added event

Thread ID:

Created:

Updated:

Platform:

Replies:

33494 Aug 22,2005 10:21 AM UTC Aug 22,2005 11:08 AM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On August 22, 2005 10:21 AM UTC

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?

Administrator [Syncfusion]
Replied On 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
	}
}

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;