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

not exist RowChanged or RowChanging Event???

Thread ID:





2340 Jan 9,2003 02:01 AM UTC Jan 9,2003 06:53 AM UTC WinForms 1
Tags: GridControl
Asked On January 9, 2003 02:01 AM UTC

not exist RowChanged or RowChanging Event??? how can i know when current row(or column) change??

Administrator [Syncfusion]
Replied On January 9, 2003 06:53 AM UTC

For the GridDataBoundGrid (which is sort of row-oriented) there are several row-type events such as RowEnter, RowLeave, RowEditing, etc. For the GridControl (which is cell-oriented), there are many CurrentCell events that give you access at different times. If by changing, you mean moving the location of the current cell, then take a look at: CurrentCellMoving CurrentCellMoved CurrentCellDeactivating CurrentCellDeativated CurrentCellActivating CurrentCellActivated Here is a sample CurrentCellMoving handler;
private void gridControl1_CurrentCellMoving(object sender, Syncfusion.Windows.Forms.Grid.GridCurrentCellMovingEventArgs e)
	GridCurrentCell cc = this.gridControl1.CurrentCell;
	Console.WriteLine(string.Format("Moving: from {0} {1}   to {2} {3}", cc.RowIndex, cc.ColIndex, e.RowIndex, e.ColIndex));
If you have the source code version of the product, you can enable TraceSwitches to see output on exactly what events are hit as you work with the grid. Search the release notes for TraceSwitches to see information on how to do this. Also, look at the config file for the GridPad to see a sample of these switchs. If by change, you mean changing the vlaues of the cells, then there is another set of CurrentCell events that you can use.


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon