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

To get the Rowindex

Thread ID:





21909 Nov 29,2004 04:09 AM UTC Nov 29,2004 11:07 AM UTC WinForms 2
Tags: GridControl
Asked On November 29, 2004 04:09 AM UTC

Hi Clay, How do I get the row index of the row which I leave in the RowEnter event?.. My requirement is like I''m disabling the User from navigating to Other rows until he Commits/resets the Changes made to the Current row. I''m having a Hidden status column to Identify whether the row is in Edit mode or not... so, In Row enter event, I need to check for the Row status using the Status column value(Which will be ''YES'' if it is edit mode) and if it is not in edit mode, I need to set the Focus back to the Edited row.. Please help. Thanks, Thiagu

Administrator [Syncfusion]
Replied On November 29, 2004 06:30 AM UTC

You can get this information from properties of the CurrentCell. GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell; Console.WriteLine("moving from {0} to {1}", cc.MoveFromRowIndex, cc.MoveToRowIndex);

Replied On November 29, 2004 11:07 AM UTC

Thanks Clay... >You can get this information from properties of the CurrentCell. > >GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell; >Console.WriteLine("moving from {0} to {1}", cc.MoveFromRowIndex, cc.MoveToRowIndex); >


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