DataGrid resets page when data is changed #584

Closed
opened 2026-01-29 17:39:46 +00:00 by claunia · 1 comment
Owner

Originally created by @gagabu on GitHub (Oct 17, 2022).

Describe the bug
DataGrid resets to the first page when I changed data in cell:

I've seen #591 and #632, but in my case count of items are same and it seems odd jump to first page on data edit.

This works fine before v3.20.9.
Sample Project

Originally created by @gagabu on GitHub (Oct 17, 2022). **Describe the bug** DataGrid resets to the first page when I changed data in cell: ![](https://raw.githubusercontent.com/gagabu/RadzenGridReset/main/bug.gif) I've seen #591 and #632, but in my case count of items are same and it seems odd jump to first page on data edit. This works fine before [v3.20.9](https://github.com/radzenhq/radzen-blazor/releases/tag/v3.20.9). [Sample Project](https://github.com/gagabu/RadzenGridReset)
Author
Owner

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

Expression assigned to Data property will force reload on every StateHasChanged(). You can change it to:
image

@enchev commented on GitHub (Oct 17, 2022): Expression assigned to Data property will force reload on every StateHasChanged(). You can change it to: ![image](https://user-images.githubusercontent.com/5804953/196210541-39a2d613-f330-4a54-a076-0a5d4ea8b1b0.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#584