Virtualization

The MultiSelect supports UI virtualization which provides options for significantly improving the performance when working with large datasets.

Regardless of the dataset size, the virtualization technique uses a fixed amount of DOM elements in the popup list of the component. When the list is scrolled, the component displays the relevant data by reusing the existing elements instead of creating new ones.

Setting the width property of the popupSettings to auto is not supported when virtual scrolling is enabled.

Enabling Virtualization

To enable the virtual scrolling, pass a VirtualizationSettings object to the virtual input property and specify the desired itemHeight.

Although rarely needed, you can control the number of DOM elements that the list will render through the pageSize property.

Example
View Source
Edit In Stackblitz  
Change Theme:

Using with Grouping and Filtering

Virtualization works together with grouping and filtering as well.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?