Example of Virtual Scrolling in React Grid Component

/
/
Virtualization

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...

Loading....
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 component features are segregated into individual feature-wise modules. To use Virtualscrolling feature, we need to inject VirtualScroll modeule into the services.