datagrid-virtualization-loaddata bug with many rows #587

Closed
opened 2026-01-29 17:39:47 +00:00 by claunia · 2 comments
Owner

Originally created by @georgheimltwat on GitHub (Oct 20, 2022).

Describe the bug

  • set a total row count of 700.000 or more
  • adjust scrollbar to display rows starting from row 0
  • move scrollbar directly to the end (f.e. via keyboard: Ctrl+End)
    --> it takes several seconds until screen is updated, too many LoadData-events are fired, at least LoadDataArgs contains problematic values:
    image

--> finally scrollbar is not at the end, displayed rows does not match scrollbar-position
image
--> when I now move the scrollbar upwards by mouse the scrollbar jumps to the beginning

To Reproduce
https://github.com/georgheimltwat/radzen-blazor/tree/georgheim/datagrid-virtualization-loaddata-bug

Expected behavior

  • just load and display last page of data
  • no performance issue

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Radzen 4.1.8

Additional context
I'm afraid its a problem in the aspnetcore-virtualization - here I stopped investigations

Originally created by @georgheimltwat on GitHub (Oct 20, 2022). <!-- IMPORTANT: Read this first!!! 1. If you own a Radzen Professional or Еnterprise subscription you can report your issue or ask us a question via email at info@radzen.com. Radzen staff will reply within 24 hours (Professional) or 16 hours (Enterprise) 2. The Radzen staff guarantees a response to issues in this repo only to paid subscribers. 3. If you have a HOW TO question start a new forum thread in the Radzen Community forum: https://forum.radzen.com. Radzen staff will close issues that are HOWTO questions. 4. Please adhere to the issue template. Specify all the steps required to reproduce the issue or link a project which reproduces it easily (without requiring extra steps such as restoring a database). --> **Describe the bug** - set a total row count of 700.000 or more - adjust scrollbar to display rows starting from row 0 - move scrollbar directly to the end (f.e. via keyboard: Ctrl+End) --> it takes several seconds until screen is updated, too many LoadData-events are fired, at least LoadDataArgs contains problematic values: ![image](https://user-images.githubusercontent.com/85229336/196861363-d0ed40fb-fa30-4fbf-83f1-4519742c6ae1.png) --> finally scrollbar is not at the end, displayed rows does not match scrollbar-position ![image](https://user-images.githubusercontent.com/85229336/196860658-41a378bc-9813-4b22-b65b-adf823bc699e.png) --> when I now move the scrollbar upwards by mouse the scrollbar jumps to the beginning **To Reproduce** https://github.com/georgheimltwat/radzen-blazor/tree/georgheim/datagrid-virtualization-loaddata-bug **Expected behavior** - just load and display last page of data - no performance issue **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: Windows 10 - Browser: Chrome - Radzen 4.1.8 **Additional context** I'm afraid its a problem in the aspnetcore-virtualization - here I stopped investigations
Author
Owner

@enchev commented on GitHub (Oct 20, 2022):

Hi @georgheimltwat,

I'm not sure if we can do much since we are just raising LoadData event when ASP.NET Virtualize component needs items:
https://github.com/radzenhq/radzen-blazor/blob/master/Radzen.Blazor/RadzenDataGrid.razor.cs#L65

@enchev commented on GitHub (Oct 20, 2022): Hi @georgheimltwat, I'm not sure if we can do much since we are just raising LoadData event when ASP.NET Virtualize component needs items: https://github.com/radzenhq/radzen-blazor/blob/master/Radzen.Blazor/RadzenDataGrid.razor.cs#L65
Author
Owner

@georgheimltwat commented on GitHub (Oct 20, 2022):

Thanks for quick answer.
If you are sure its a aspnetcore - bug you probably may report it to microsoft ?

@georgheimltwat commented on GitHub (Oct 20, 2022): Thanks for quick answer. If you are sure its a aspnetcore - bug you probably may report it to microsoft ?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#587