You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: multiple (inifinite) remote calls in fluentdatagrid 5.x.x #5487
create new blazor app and paste into any page code from documentation url from above
🤔 Expected Behavior
there should be single call to backend api after invoking refreshdataasync call. Removing code
loading = true;
await InvokeAsync(StateHasChanged); with matching code at the end (loading false, etc.)
seems to remedy this issue, however without it grid does not give feedback that something is happening
😯 Current Behavior
With example code as-is (with setting loading variable and invoking statehaschanged) results in 7 calls to backend on sample code and infinite calls to backen on my real project (which is also surprising)
💁 Possible Solution
i could not find acceptable workaround so far
🔦 Context
🌍 Your Environment
OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
.NET and Fluent UI Blazor library Version [e.g. 8.0.2 and 4.4.1]
Hi FluentUI teams, I found the issue still exist in V5.0.1, and I notice that you had fixed that bug and merged the code, so it will be effect in V5.0.2? when would you release the next version, I need to upgrade it as soon as possible.
5. It will still be a couple of weeks before v5.1 (instead of 5.0.2) will be released
Hi Vincent, do you have a workaround so far? I tried to add a flag "LoadingFinished " to fix that issue, seems it's ok when click the search button. but it brings another issue, that is the Paginator component doesn't work when I turn to next page.
the following codes is a part of my logic, I'm not sure where is the problem!
Activity
[DataGrid] Clear the force-refresh flag before calling RefreshItems (m…
Neil-WeiLinYao commentedon Nov 2, 2026
Hi FluentUI teams, I found the issue still exist in V5.0.1, and I notice that you had fixed that bug and merged the code, so it will be effect in V5.0.2? when would you release the next version, I need to upgrade it as soon as possible.
vnbaaij commentedon Nov 2, 2026
It will still be a couple of weeks before v5.1 (instead of 5.0.2) will be released
Neil-WeiLinYao commentedon Nov 2, 2026
Hi Vincent, do you have a workaround so far? I tried to add a flag "LoadingFinished " to fix that issue, seems it's ok when click the search button. but it brings another issue, that is the Paginator component doesn't work when I turn to next page.
the following codes is a part of my logic, I'm not sure where is the problem!
vnbaaij commentedon Nov 2, 2026
I'm not at a PC for a while so can't help with that.
You can try the preview version of the package to see if that solves your problem. See https://github.com/microsoft/fluentui-blazor/blob/dev/docs%2Fusing-latest-daily.md
Neil-WeiLinYao commentedon Nov 2, 2026
thank you guys! I have found a way to avoid this issue, I adjust the codes as bellow, it works well now,hope it's helpfull for you!