# Virtual Scrolling

Virtual scrolling provides an alternative to paging.

While the user is scrolling the table, the TreeList is only rendering a part of the data based on the scroll position.

## Getting Started

TreeList virtual scrolling requires you to set the following configuration:

* Set the [`scrollable`](https://www.telerik.com/kendo-react-ui/components/treelist/api/treelistprops#scrollable) prop to `virtual`.
* Set the TreeList height in pixels through its [`style`](https://www.telerik.com/kendo-react-ui/components/treelist/api/treelistprops#style) prop.
* Set the [`rowHeight`](https://www.telerik.com/kendo-react-ui/components/treelist/api/treelistprops#rowheight) prop.

The following example demonstrates how to configure virtual scrolling in the TreeList to efficiently render large data sets by displaying only the visible rows.

[Demo Source](https://demos.telerik.com/kendo-react-ui/treelist/virtual-scroll/func/source.txt)

## Suggested Links

* [API Reference of the TreeList](https://www.telerik.com/kendo-react-ui/components/treelist/api/treelistprops)
* [API Index of the TreeList](https://www.telerik.com/kendo-react-ui/components/treelist/api)
