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

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

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.

3 Replies

BM Babu Mannaravalappil February 18, 2004 03:36 PM

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.


AD Administrator Syncfusion Team February 18, 2004 03:40 PM

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.


BM Babu Mannaravalappil February 20, 2004 02:30 PM

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.

Loader.
Live Chat Icon For mobile
Up arrow icon