New to Kendo UI for Angular? Start a free 30-day trial
VirtualizationSettings
Used for configuring virtual scrolling:
- AutoComplete virtualization
- ComboBox virtualization
- DropDownList virtualization
- MultiSelect virtualization
ts
@Component({
selector: 'my-app',
template: `
<kendo-dropdownlist [data]="listItems" [virtual]="{ itemHeight: 28, pageSize: 10 }">
</kendo-dropdownlist>
`
})
class AppComponent {
public listItems: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"];
}
Name | Type | Default | Description |
---|---|---|---|
itemHeight |
|
Sets the height of the items. | |
pageSize? |
|
Sets the amount of items that will be rendered in the DOM. |