Virtualization
The ComboBox 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 thepopupSettings
toauto
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.
Using with Grouping and Filtering
The following example demonstrates how to use the virtualization functionality of the ComboBox with grouping and filtering.