I have a DataGridView about 5000 rows. When I select a row, it will bind the data to another DetailControl (it takes around 0.2 second to bind data). The problem is when user keep pressing Up/Down keyboard for few seconds, the selected row in grid is different than the data in the DetailControl. Is any way to avoid it? Is it possible to delay event selectionChanged until user releases key press?
Thanks you for your help,
I see the issue, i’m attaching some experimental code that will let you test firing the event after a specific timeout. It prevents the normal selectionChanged and focusCellChanged events from firing to the server and replaces them with events that fire 250ms after the last selection change. If this code works for you, we’ll add it to the DataGridView as an optional property for future builds.
Let me know!
Please login first to submit.