Example of Virtual Scrolling in Javascript Tree Grid Control

Virtual Scrolling

This sample demonstrates the Tree Grid component with the virtual scrolling feature. Scroll the Tree Grid content vertically to load rows.

More Details...


The Tree Grid UI virtualization allows you to render only rows visible within the view-port without buffering the entire datasource. To enable the virtualization, set enableVirtualization property as true. By default, enableVirtualMaskRow is set to true. we can change by setting enableVirtualMaskRow property to false. Note: The height property must be defined when enabling enableVirtualization . In this demo, Tree Grid is enabled with row virtualization and also perform the CRUD (Add, Edit, Delete, Update) actions. Injecting Module: Tree Grid features are segregated into individual feature-wise modules. To use virtual scrolling feature, we need to inject VirtualScroll using the TreeGrid.Inject(VirtualScroll) section.