Differences between SelectedRecords and SelectedRowIndexes with infinite scroll

Hi,


Before using infinite scroll on my grids, I used SelectedRecords to know what or how many rows are selected.

When I enable infinite scroll and PersistSelection to true the behavior of the grid is correct but SelectedRecords doesn't update when you check all then scroll down to load more items.


Repro link : https://blazorplayground.syncfusion.com/BDLytqVVLnZAcDIn

  1. Check all (25 items loaded and selected)
  2. Scroll to load more (the grid show thats 50 items are selected)
  3. Click "Show selection" to display differences between SelectedRecords and SelectedRowIndexes

SelectedRowIndexes is correct but not SelectedRecords that stays to 25.
Is it a bug or a feature ?

Regards



3 Replies

PS Prathap Senthil Syncfusion Team April 3, 2025 04:36 PM UTC

Hi Julien Barach,

We are able to reproduce the problem where the SelectedRecords do not get retrieved correctly when PersistSelection is enabled. We are currently validating the reported issue as a high priority on our end and will update you with further details within two days (April 7th, 2025). Until then, we appreciate your patience.


Regards,
Prathap Senthil



PS Prathap Senthil Syncfusion Team April 7, 2025 02:06 PM UTC

Thanks for your patience,

We have confirmed that this is an issue and logged a defect report titled  “Incorrect records returned by GetSelectedRecordsAsync with EnableInfiniteScrolling in Grid” This fix will be included in our weekly patch release, which is expected to be rolled out on April 22nd, 2025. You can now track the status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.    

Incorrect records returned by GetSelectedRecordsAsync with EnableInfiniteScrolling in Grid in Blazor | Feedback Portal


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization”

We will get back to you once the release is rolled out. Thanks for your understanding.



PS Prathap Senthil Syncfusion Team April 23, 2025 03:13 AM UTC

We apologize for the inconvenience caused.

We were unable to include the fix in today patch release. However, we want to assure you that the fix will be included in our weekly patch release, scheduled on or before April 29th, 2025.We appreciate your patience and understanding.


Loader.
Up arrow icon