[Updated steps to reproduce] Data grid paging doesn't work when set @bind-Settings #875

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

Originally created by @DmitryVasilyuk95 on GitHub (Jun 9, 2023).

Go to https://blazor.radzen.com/datagrid-save-settings

Edit code and add e.g. PageSizeOptions="new[] { 2, 4, 8, 12 }"

After that try to click a few times. Sometimes it's needed to click a few times
ezgif com-optimize (1)

Originally created by @DmitryVasilyuk95 on GitHub (Jun 9, 2023). Go to https://blazor.radzen.com/datagrid-save-settings Edit code and add e.g. PageSizeOptions="new[] { 2, 4, 8, 12 }" After that try to click a few times. Sometimes it's needed to click a few times ![ezgif com-optimize (1)](https://github.com/radzenhq/radzen-blazor/assets/134110561/7cf4e6ec-23f2-4e8e-8094-3fad54ecbd88)
Author
Owner

@enchev commented on GitHub (Nov 8, 2023):

When using PageSizeOption you should also set PageSize to a variable:
image
otherwise every change state will reset the PageSize to what is declared in the razor

@enchev commented on GitHub (Nov 8, 2023): When using PageSizeOption you should also set PageSize to a variable: ![image](https://github.com/radzenhq/radzen-blazor/assets/5804953/af57a9ae-7308-41ce-95a2-375548b3ea90) otherwise every change state will reset the PageSize to what is declared in the razor
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#875