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.

To get the Rowindex

Thread ID:

Created:

Updated:

Platform:

Replies:

21909 Nov 28,2004 11:09 PM Nov 29,2004 06:07 AM Windows Forms 2
loading
Tags: GridControl
Thiyagu
Asked On November 28, 2004 11:09 PM

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 01:30 AM

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);

Thiyagu
Replied On November 29, 2004 06:07 AM

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); >

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.

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.

;