<kendo:dropDownTree-loadOnDemand>

Indicates whether the child DataSources should be fetched lazily when parent groups get expanded. Setting this to true causes loading the child DataSources when expanding the parent node.

Example

<kendo:dropDownTree>
    <kendo:dropDownTree-loadOnDemand></kendo:dropDownTree-loadOnDemand>
</kendo:dropDownTree>

Configuration Attributes

valueMapper java.lang.String

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

Example

<kendo:dropDownTree-loadOnDemand valueMapper="valueMapper">
</kendo:dropDownTree-loadOnDemand>

Event Attributes

valueMapper String

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

Example

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

Event Tags

kendo:dropDownTree-loadOnDemand-valueMapper

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

Example

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