The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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!
ADAdministrator 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.