MudBlazor/MudBlazor

Add virtualization support to MudTreeView

Offen

#2.895 geöffnet am 29.09.2021

 (26 Kommentare) (12 Reaktionen) (1 zugewiesene Person)C# (1.631 Forks)batch import
enhancementhelp wantedperformance

Repository-Metriken

Stars
 (10.394 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 6T 6h) (108 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide