MudBlazor/MudBlazor

Add virtualization support to MudTreeView

開放

#2,895 建立於 2021年9月29日

 (26 則留言) (12 個反應) (1 位負責人)C# (1,631 個分叉)batch import
enhancementhelp wantedperformance

倉庫指標

星標
 (10,394 顆星)
PR 合併指標
 (平均合併 6天 6小時) (30 天內合併 108 個 PR)

描述

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

貢獻者指南