MudBlazor/MudBlazor

Add virtualization support to MudTreeView

Ouverte

#2 895 ouverte le 29 sept. 2021

 (26 commentaires) (12 réactions) (1 personne assignée)C# (1 631 forks)batch import
enhancementhelp wantedperformance

Métriques du dépôt

Stars
 (10 394 étoiles)
Métriques de merge PR
 (Merge moyen 6j 6h) (108 PRs mergées en 30 j)

Description

Feature request type

Enhance component

Component name

MudTreeView

Is your feature request related to a problem?

Currently there is no way to Virtualize the TreeView component.

For me this seems like a crucial feature to have for a "list" type component which is supposed to hold large amounts of data. Right now I'm building an application which needs to insert thousands of TreeViewItem's into the Tree and this just straight up crashes Blazor because it doesn't support rendering that much on the screen.

Describe the solution you'd like

The ideal solution would be to use the component that Blazor provides for virtualizing collections.

Have you seen this feature anywhere else?

Yes, although not in any actual MaterialDesign framework, Virtualization is a feature implemented by almost all kinds of List/Tree libraries, not limited to C#.

Describe alternatives you've considered

No response

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

Guide contributeur