Example of Virtual Scrolling in Javascript Data Grid Control

/
/
Virtual Scrolling

This sample demonstrates the Grid component with the virtual scrolling feature. Click the button at the top of the Grid to load data source and scroll the Grid content vertically and horizontally to load rows and columns respectively.

More Details...

Time Taken: 0 ms
Description

The Grid UI virtualization allows you to render only rows and columns visible within the view-port without buffering the entire datasource. Grid supports row and column virtualization. To enable row virtualization, set enableVirtualization property as true. For column virtualization, set enableColumnVirtualization property as true. Note: The height property must be defined when enabling enableVirtualization . In this demo, Grid enabled row and column virtualization. Click the Load 100K Data button to bind 100000 rows and 30 columns. You can also perform the Edit action in this sample. Injecting Module: Grid features are segregated into individual feature-wise modules. To use virtual scrolling feature, we need to inject VirtualScroll using the Grid.Inject(VirtualScroll) section.