Loading Content render fragment for data grid #1064
StephenOTT
started this conversation in
Ideas
Replies: 1 comment
-
As FluentDataGrid is internally using QuickGrid code it might be an idea to also create an issue there using feature-blazor-quickgrid label. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Similar to show a button has had a loading indicator, the data grid would benefit from it.
It is fairly simple to add a render fragment for the
Items
usage, butItemsProvider
usage becomes more complicated (unless i have missed something) because the variable holding the provider is a provider and is never null, so you cannot do the typical "if null then show loading indicator".Instead you have to add an additional bool variable to track when the loading of the provider req is completed.
Is there a better way to do this?
If not and the above is the current practice, I think it would be helpful to have a loading fragment similar to EmptyContent, so we can customize the loading indicator without repetitive variable creation.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions