Skip to content

FluentDataGrid, "refreshDataAsync" got the infinite "Loading..." #2458

Discussion options

You must be logged in to vote

Final solution is

  1. Set the <FluentDataGrid Loading=true, then you will have the "Loading" effect
  2. Call your own remote data handler(for me updateProductList) but before that must call Task.Delay(1) first. And I really do not know WHY ?
    private async Task OnClick()
    {   
        // If use RefreshDataAsync then must set <FluentDataGrid> Loading=false. But you will not have the Loading effect
        //await myGrid!.RefreshDataAsync();
                   
        // Must delay at least 1/1000 sceond first (I do not know why have to do this?)
        // and call your own remote data handler
        // And you even do not setLoadingState(false)
        await Task.Delay(1);              …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by andrewwang1tw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant