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

Row changed event

How do I know when a user has moved to the next row in a grid? There seems to be no ''RowChanged'' event or similar event to catch. I don''t care if the Row is selected or not, I just need to know when a user has left a row. Currently, I catch the gridcurrentcellactivated event and determine if the row has changed by getting the currentcell row index. But this involves me handling private variables and checking them with the currentcell row index. There has got to be an easier way. Thanks!

1 Reply

AD Administrator Syncfusion Team August 12, 2004 07:00 PM UTC

You can use the CurrentCellMoved event. In that event, you can check grid.CurrentCell.MoveFromRowIndex and grid.CurrentCell.MoveToRowIndex to see if the user has changed rows. This should work for either a GridControl or a GridDataBoundGrid. In a GridDataBoundGrid, there are also RowEnter and RowLeave events.

Live Chat Icon For mobile
Up arrow icon