Example of Virtualization in ASP.NET Core TreeView Control
This example demonstrates the virtualization support of the ASP.NET Core TreeView. The component has 8000 items bound to it including children; however, when you open the suggestion list, only few items are loaded based on the height specified, and the remaining items are loaded while scrolling.
The TreeView supports UI virtualization to improve rendering performance when handling a large amount of data. Enable this feature by setting the enableVirtualization property to true and providing a fixed height for the TreeView container.
In this demo, a large organization-like dataset is generated programmatically and virtualization is enabled to render the nodes efficiently.
For more details, refer to the Virtualization documentation.