Virtual
configurationEnables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.
For detailed information, refer to the article on virtualization.
virtual
Boolean|ObjectDefault: false
virtual.itemHeight
NumberSpecifies the height of the virtual item. All items in the virtualized list must have the same height.
If the developer does not specify one, the framework will automatically set itemHeight based on the current theme and font size.
Default: null
virtual.mapValueTo
StringThe changes introduced with the Kendo UI R3 2016 release enable you to determine if the valueMapper must resolve a value to an index or a value to a dataItem. This is configured through the mapValueTo option that accepts two possible values - "index" or "dataItem". By default, the mapValueTo is set to "index", which does not affect the current behavior of the virtualization process.
For more information, refer to the article on virtualization.
Default: "index"
virtual.valueMapper
FunctionImportant
As of the Kendo UI R3 2016 release, the implementation of the
valueMapperfunction is not necessary.
Default: null