DataGrid with Remote Data and Pagination Not Resetting After Filtering Data With Reduced Result Set #1575
Replies: 1 comment 2 replies
-
This is fixed in a recent PR and will be on the next release |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a blazor wasm application. I'm using a FluentDataGrid, fetching remote data with ItemsProvider, and utilizing Paginationpu
It's working great when filtering / paging through data.
When the user changes search filters, resulting in fewer pages of results than the page they are currently viewing (for instance, they were previously viewing page 5 of results, and update a filter field reducing the results to 1 page).
I can see behind the scenes, the pagination component is checking this condition, and triggering a second fetch, with Page set to a valid number in the new result size.
fluentui-blazor/src/Core/Components/Pagination/PaginationState.cs
Lines 64 to 69 in 8ecf0f2
I can see the retrieval happen in my browser, however the pagination UI isn't updating to show the correct state (it still shows old record count, and page / pages values).
Beta Was this translation helpful? Give feedback.
All reactions