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

How can i get cell clicked events before celleditingcomplete event

Thread ID:

Created:

Updated:

Platform:

Replies:

5806 Jul 17,2003 11:42 PM UTC Sep 8,2003 02:14 PM UTC WinForms 3
loading
Tags: GridControl
Peter
Asked On July 17, 2003 11:42 PM UTC

How can i catch cellclick events before CurrentCellEditingComplete event fires. TIA, Peter

Administrator [Syncfusion]
Replied On July 18, 2003 08:08 AM UTC

In general, you cannot change the order of events. Doing so, would break how things work. So, you have to try to determine what you need in some other manner. For example, if the reason you want to do what you described is that you need to know where you are moving to in CurrentCellEditingComplete, then you can determine this. But you cannot change the order that events fire. Here is a little snippet that shows how you can tell where you are going in CurrentCellEditingComplete.
private void gridControl1_CurrentCellEditingComplete(object sender, System.EventArgs e)
{
	GridCurrentCell cc = this.gridControl1.CurrentCell;
	if(cc.IsInMoveTo)
	{
		Console.WriteLine("EditingComplete moving to {0},{1}", cc.MoveToRowIndex, cc.MoveToColIndex);
	}
}

Rajamani David
Replied On September 8, 2003 12:12 PM UTC

Hi, What event handler I have to attach for this "CurrentCellEditingComplete".? Thanks Raj > In general, you cannot change the order of events. Doing so, would break how things work. > > So, you have to try to determine what you need in some other manner. For example, if the reason you want to do what you described is that you need to know where you are moving to in CurrentCellEditingComplete, then you can determine this. But you cannot change the order that events fire. > > Here is a little snippet that shows how you can tell where you are going in CurrentCellEditingComplete. > >
> private void gridControl1_CurrentCellEditingComplete(object sender, System.EventArgs e)
> {
> 	GridCurrentCell cc = this.gridControl1.CurrentCell;
> 	if(cc.IsInMoveTo)
> 	{
> 		Console.WriteLine("EditingComplete moving to {0},{1}", cc.MoveToRowIndex, cc.MoveToColIndex);
> 	}
> }
> 

Administrator [Syncfusion]
Replied On September 8, 2003 02:14 PM UTC

It is the CurrentCellEditingComplete event. Private Sub GridDataBoundGrid1_CurrentCellEditingComplete(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridDataBoundGrid1.CurrentCellEditingComplete End Sub

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

;