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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

is there an event equivelant to Current Row changing/changed?

Thread ID:

Created:

Updated:

Platform:

Replies:

10982 Feb 18,2004 08:27 PM UTC Feb 20,2004 07:30 PM UTC WinForms 3
loading
Tags: GridControl
Babu Mannaravalappil
Asked On February 18, 2004 08:27 PM UTC

Hi, I need to set some properties of some controls on the windows form based of the current row on a grid control. Which event would I code for this purpose? Babu.

Babu Mannaravalappil
Replied On February 18, 2004 08:36 PM UTC

I forgot to say that I am just using Grid Control and not GridDataBoundGrid. I wanted to handle a row oriented event rather than the Cell oriented events. Is there a way to do this? Thanks for any info. Babu.

Administrator [Syncfusion]
Replied On February 18, 2004 08:40 PM UTC

In a GridDataBoundGrid, there are RowEnter and RowLeave events. In both GridDataBoundGrid and GridControl, there are CurrentCellMoving and CurrentCellMoved events. You can use grid.CurrentCell.MoveToRowIndex and grid.CurrentCell.MoveFromRowIndex to check if you are changing rows.

Babu Mannaravalappil
Replied On February 20, 2004 07:30 PM UTC

Thanks Clay. That is exactly what I was looking for. Babu. >In a GridDataBoundGrid, there are RowEnter and RowLeave events. > >In both GridDataBoundGrid and GridControl, there are CurrentCellMoving and CurrentCellMoved events. You can use grid.CurrentCell.MoveToRowIndex and grid.CurrentCell.MoveFromRowIndex to check if you are changing rows.

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

;