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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Event when focus moves from one row to another on grid?

Thread ID:





31788 Jul 14,2005 01:46 PM UTC Jul 14,2005 02:13 PM UTC WinForms 1
Tags: GridControl
Catinat Velmourougan
Asked On July 14, 2005 01:46 PM UTC

hi, I have a grouping grid. The user moves from one row to another either by using arrow keys or by using the mouse.I want to get the current Row and pick some values from the corresponding row.Can I know what event should I use? regards, Catinat

Administrator [Syncfusion]
Replied On July 14, 2005 02:13 PM UTC

You an use the CurrentRecordContextChange event.
private void gridGroupingControl1_CurrentRecordContextChange(object sender, CurrentRecordContextChangeEventArgs e)
	if(e.Action == CurrentRecordAction.EnterRecordComplete
		&& e.Record is GridRecord)
		GridRecord rec = e.Record as GridRecord;
		Console.WriteLine("GoTo Record " + rec.GetValue("Col2"));
	else if(e.Action == CurrentRecordAction.LeaveRecordComplete
		&& e.Record is GridRecord)
		GridRecord rec = e.Record as GridRecord;
		Console.WriteLine("Leave Record " + rec.GetValue("Col2"));


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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