You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am binding the grid to a dataset and then preselecting the first row.
The grid contains 20 or so rows with the first 5 visible.
Selecting of the visible rows works fine, firing the ItemSelected event.
However - if you scroll so the first rows are not visible and then scroll back - then those rows do not select with the Selected Row color however the event still fires correctly.
If I then rebind - it selects the first row again properly - but then if you tap to select any other row - the ItemSelected fires but the visible selected row remains the first row.
Thoughts on what is going on? In summary - the grid works fine - but the visible selected row becomes corrupt.
The text was updated successfully, but these errors were encountered:
What platform is this? What .NET version? Also, can you repeat this using the sample app with the current main branch?
For just scrolling , my guess is this sounds like a platform-specific bug in MAUI itself. But if you are referring to sorting or pagination, I know that the selected item is lost in that case too. I opened an issue about that already:
I am binding the grid to a dataset and then preselecting the first row.
The grid contains 20 or so rows with the first 5 visible.
Selecting of the visible rows works fine, firing the ItemSelected event.
However - if you scroll so the first rows are not visible and then scroll back - then those rows do not select with the Selected Row color however the event still fires correctly.
If I then rebind - it selects the first row again properly - but then if you tap to select any other row - the ItemSelected fires but the visible selected row remains the first row.
Thoughts on what is going on? In summary - the grid works fine - but the visible selected row becomes corrupt.
The text was updated successfully, but these errors were encountered: