-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blazor Virtualize: Empty Rows Template #28770
Comments
Thanks for contacting us. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
@jlchavez, @pranavkm, and others, I think an In the case of not using an ItemsProvider, are you are advocating for:
...over the current equivalent:
I think I'd prefer the latter. |
I would say that good developers follow development principals that will make code cleaner, efficient and less prone to errors, and a good example is the DRY principle, dont't repeat your self. That's why we have components like Virtualize that reduce complexities, without having to copy/paste spaghetti code. Adding the EmptyContent and a LoadingContent would remove duplicating code in every grid in your app, but you can still do it the coded way if you like to. |
Are you saying the example I gave above has duplicated code? Or is there another example I can look at that illustrates your point? |
I think your examples are mixing up the two. The second one using the If instead you meant for it to say The Virtualization component should have everything it needs to tell if it is empty or not, why not give that data back to a user to choose to use or not. |
Thanks for contacting us. We're moving this issue to the |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Currently when the ItemsProvider returns zero count it will display nothing, an EmptyContent template would improve the usability for the end user so that it knows that there is no data and the loading has been completed. This would reduce workarounds as checkinf if the ItemsProvider has returned Total Rows = 0, adding conditions to display this message and calling StateHasChanged() so that it can be repainted.
The text was updated successfully, but these errors were encountered: