Used for configuring virtual scrolling:
@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. |