API REFERENCE
virtualScroll
Enables vertical virtualization, rendering rows near the viewport. Does not reduce total data downloads.
What does this API do?
Enables vertical virtualization, rendering rows near the viewport. Does not reduce total data downloads.
Exact input and result types
virtualScroll: boolean| Item | Value |
|---|---|
| JavaScript name | virtualScroll |
| HTML attribute | virtual-scroll |
| Default | true |
| Input type | boolean |
Usage flow
Set this on a property of the Grid element. In HTML, you can also use the virtual-scroll attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.
Feature explanations and examples
- Large data sets
Virtualization renders only row and column DOM needed near the viewport. It is separate from row models that fetch only part of the data from a server.