<kendo:multiColumnComboBox-virtual>

Enables 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.

Example

<kendo:multiColumnComboBox>
    <kendo:multiColumnComboBox-virtual></kendo:multiColumnComboBox-virtual>
</kendo:multiColumnComboBox>

Configuration Attributes

itemHeight float

Specifies 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.

Example

<kendo:multiColumnComboBox-virtual itemHeight="itemHeight">
</kendo:multiColumnComboBox-virtual>

mapValueTo java.lang.String

The 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.

Example

<kendo:multiColumnComboBox-virtual mapValueTo="mapValueTo">
</kendo:multiColumnComboBox-virtual>

valueMapper java.lang.String

The widget calls the valueMapper function when the widget receives a value, that is not fetched from the remote server yet. The widget will pass the selected value(s) in the valueMapper function. In turn, the valueMapper implementation should return the respective data item(s) index/indices.

Example

<kendo:multiColumnComboBox-virtual valueMapper="valueMapper">
</kendo:multiColumnComboBox-virtual>

Event Attributes

valueMapper String

The widget calls the valueMapper function when the widget receives a value, that is not fetched from the remote server yet. The widget will pass the selected value(s) in the valueMapper function. In turn, the valueMapper implementation should return the respective data item(s) index/indices.

Example

<kendo:multiColumnComboBox-virtual valueMapper="handle_valueMapper">
</kendo:multiColumnComboBox-virtual>
<script>
    function handle_valueMapper(e) {
        // Code to handle the valueMapper event.
    }
</script>

Event Tags

kendo:multiColumnComboBox-virtual-valueMapper

The widget calls the valueMapper function when the widget receives a value, that is not fetched from the remote server yet. The widget will pass the selected value(s) in the valueMapper function. In turn, the valueMapper implementation should return the respective data item(s) index/indices.

Example

<kendo:multiColumnComboBox-virtual>
    <kendo:multiColumnComboBox-virtual-valueMapper>
        <script>
            function(e) {
                // Code to handle the valueMapper event.
            }
        </script>
    </kendo:multiColumnComboBox-virtual-valueMapper>
</kendo:multiColumnComboBox-virtual>
In this article
Not finding the help you need?