# Virtual Columns

Column virtualization renders only the columns that are visible in the current viewport. This improves performance by reducing the number of elements that the [Angular TreeList](https://www.telerik.com/kendo-angular-ui/components/treelist) and the browser need to render.

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

To enable column virtualization:

1. Set the [`virtualColumns`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#virtualcolumns) property to `true`.
2. Set the [`width`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent#width) property for all columns.
3. Enable scrolling.

Use column virtualization with TreeLists that have a large number of columns to reduce the number of rendered elements. Consider leaving it disabled for TreeLists with only a few non-visible columns.

Column virtualization requires the TreeList to perform additional processing and can reduce performance in some cases. Perform your own measurements when fine-tuning application performance.

## Suggested Links

* [`ColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent)
* [API Reference of the `TreeListComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent)
* [API Index of the TreeList](https://www.telerik.com/kendo-angular-ui/components/treelist/api)
