<kendo:dropDownTree>

A JSP wrapper for Kendo UI DropDownTree.

Configuration Attributes

animation boolean

Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result, the suggestion popup will open and close instantly. is not a valid configuration. Further configuration is available via kendo:dropDownTree-animation.

Example

<kendo:dropDownTree animation="animation">
</kendo:dropDownTree>

autoBind boolean

Controls whether to bind the widget to the data source on initialization.

Example

<kendo:dropDownTree autoBind="autoBind">
</kendo:dropDownTree>

autoClose boolean

Controls whether to close the popup when item is selected or checked.

Example

<kendo:dropDownTree autoClose="autoClose">
</kendo:dropDownTree>

autoWidth boolean

If set to true, the widget automatically adjusts the width of the popup element and does not wrap up the item label.

Example

<kendo:dropDownTree autoWidth="autoWidth">
</kendo:dropDownTree>

checkAll boolean

When this options is set to true and checkboxes are enabled, a tristate checkbox appears above the embedded treeview. Clicking that checkbox will check or uncheck all the loaded enabled items of the treeview.

Example

<kendo:dropDownTree checkAll="checkAll">
</kendo:dropDownTree>

checkAllTemplate java.lang.String

The template used to render the checkAll label. By default, the widget displays only a span element with text "Check all".

Example

<kendo:dropDownTree checkAllTemplate="checkAllTemplate">
</kendo:dropDownTree>

checkboxes boolean

If true or an object, renders checkboxes beside each node. In this case the widget value should be an array. Further configuration is available via kendo:dropDownTree-checkboxes.

Example

<kendo:dropDownTree checkboxes="checkboxes">
</kendo:dropDownTree>

clearButton boolean

Unless this option is set to false, a button will appear when hovering the widget. Clicking that button will reset the widget's value and will trigger the change event.

Example

<kendo:dropDownTree clearButton="clearButton">
</kendo:dropDownTree>

dataImageUrlField java.lang.String

Sets the field of the data item that provides the image URL of the DropDownTree nodes.

Example

<kendo:dropDownTree dataImageUrlField="dataImageUrlField">
</kendo:dropDownTree>

dataSpriteCssClassField java.lang.String

Sets the field of the data item that provides the sprite CSS class of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array.

Example

<kendo:dropDownTree dataSpriteCssClassField="dataSpriteCssClassField">
</kendo:dropDownTree>

dataTextField java.lang.Object

Sets the field of the data item that provides the text content of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array.

Example

<kendo:dropDownTree dataTextField="dataTextField">
</kendo:dropDownTree>

dataUrlField java.lang.String

Sets the field of the data item that provides the link URL of the nodes.

Example

<kendo:dropDownTree dataUrlField="dataUrlField">
</kendo:dropDownTree>

dataValueField java.lang.Object

The field of the data item that provides the value of the widget. If an array, each level uses the field that is at the same index in the array, or the last item in the array.

Example

<kendo:dropDownTree dataValueField="dataValueField">
</kendo:dropDownTree>

delay float

Specifies the delay in milliseconds after which the DropDownTree will start filtering dataSource.

Example

<kendo:dropDownTree delay="delay">
</kendo:dropDownTree>

enable boolean

If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.

Example

<kendo:dropDownTree enable="enable">
</kendo:dropDownTree>

enforceMinLength boolean

If set to true the widget will not show all items when the text of the search input cleared. By default, the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.

Example

<kendo:dropDownTree enforceMinLength="enforceMinLength">
</kendo:dropDownTree>

filter java.lang.String

The filtering method used to determine the suggestions for the current value. Filtration is turned off by default, and can be performed over string values only (either the widget's data has to be an array of strings, or over the field, configured in the dataTextField option). The supported filter values are startswith, endswith and contains.

Example

<kendo:dropDownTree filter="filter">
</kendo:dropDownTree>

footerTemplate java.lang.String

The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.

Example

<kendo:dropDownTree footerTemplate="footerTemplate">
</kendo:dropDownTree>

headerTemplate java.lang.String

Specifies a static HTML content, which will be rendered as a header of the popup element.

Example

<kendo:dropDownTree headerTemplate="headerTemplate">
</kendo:dropDownTree>

height java.lang.Object

Sets max-height of the embedded treeview in pixels. The default value is 200 pixels. If set to "Auto" the height of the popup will depend on the height of the treeview.

Example

<kendo:dropDownTree height="height">
</kendo:dropDownTree>

ignoreCase boolean

If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default.

Example

<kendo:dropDownTree ignoreCase="ignoreCase">
</kendo:dropDownTree>

loadOnDemand boolean

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 loadOnDemand="loadOnDemand">
</kendo:dropDownTree>

minLength float

The minimum number of characters the user must type before a search is performed. Set to a higher value if the search could match a lot of items.

Example

<kendo:dropDownTree minLength="minLength">
</kendo:dropDownTree>

noDataTemplate java.lang.String

The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.

Example

<kendo:dropDownTree noDataTemplate="noDataTemplate">
</kendo:dropDownTree>

placeholder java.lang.String

The hint displayed by the widget when it is empty. Not set by default.

Example

<kendo:dropDownTree placeholder="placeholder">
</kendo:dropDownTree>

tagMode java.lang.String

The mode used to render the selected tags when checkboxes are enabled. The available modes are: - multiple - renders a tag for every selected value - single - renders only one tag that shows the number of the selected values

Example

<kendo:dropDownTree tagMode="tagMode">
</kendo:dropDownTree>

template java.lang.String

Template for rendering each node.

Example

<kendo:dropDownTree template="template">
</kendo:dropDownTree>

text java.lang.String

The text of the widget used when the autoBind is set to false.

Example

<kendo:dropDownTree text="text">
</kendo:dropDownTree>

value java.lang.Object

Define the value of the widget. It accepts 'String' when it is in single selection mode and 'Array' when multiple selection is enabled via checkboxes property.

Example

<kendo:dropDownTree value="value">
</kendo:dropDownTree>

valuePrimitive boolean

Specifies the value binding behavior for the widget. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item.

Example

<kendo:dropDownTree valuePrimitive="valuePrimitive">
</kendo:dropDownTree>

valueTemplate java.lang.String

The template used to render the value and the or the selected tags.

Example

<kendo:dropDownTree valueTemplate="valueTemplate">
</kendo:dropDownTree>

Configuration JSP Tags

kendo:dropDownTree-animation

Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result, the suggestion popup will open and close instantly. is not a valid configuration.

More documentation is available at kendo:dropDownTree-animation.

Example

<kendo:dropDownTree>
    <kendo:dropDownTree-animation></kendo:dropDownTree-animation>
</kendo:dropDownTree>

kendo:dropDownTree-checkboxes

If true or an object, renders checkboxes beside each node. In this case the widget value should be an array.

More documentation is available at kendo:dropDownTree-checkboxes.

Example

<kendo:dropDownTree>
    <kendo:dropDownTree-checkboxes></kendo:dropDownTree-checkboxes>
</kendo:dropDownTree>

kendo:dropDownTree-messages

The text messages displayed in the widget. Use it to customize or localize the messages.

More documentation is available at kendo:dropDownTree-messages.

Example

<kendo:dropDownTree>
    <kendo:dropDownTree-messages></kendo:dropDownTree-messages>
</kendo:dropDownTree>

kendo:dropDownTree-popup

The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation.

More documentation is available at kendo:dropDownTree-popup.

Example

<kendo:dropDownTree>
    <kendo:dropDownTree-popup></kendo:dropDownTree-popup>
</kendo:dropDownTree>

Event Attributes

change String

Fired when the value of the widget is changed by the user.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the change event documentation.

Example

<kendo:dropDownTree change="handle_change">
</kendo:dropDownTree>
<script>
    function handle_change(e) {
        // Code to handle the change event.
    }
</script>

close String

Fired when the popup of the widget is closed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the close event documentation.

Example

<kendo:dropDownTree close="handle_close">
</kendo:dropDownTree>
<script>
    function handle_close(e) {
        // Code to handle the close event.
    }
</script>

dataBound String

Fired when the widget or sub levels of its items are bound to data from the dataSource.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the dataBound event documentation.

Example

<kendo:dropDownTree dataBound="handle_dataBound">
</kendo:dropDownTree>
<script>
    function handle_dataBound(e) {
        // Code to handle the dataBound event.
    }
</script>

filtering String

Fired when the widget is about to filter the data source.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the filtering event documentation.

Example

<kendo:dropDownTree filtering="handle_filtering">
</kendo:dropDownTree>
<script>
    function handle_filtering(e) {
        // Code to handle the filtering event.
    }
</script>

open String

Fired when the popup of the widget is opened by the user.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the open event documentation.

Example

<kendo:dropDownTree open="handle_open">
</kendo:dropDownTree>
<script>
    function handle_open(e) {
        // Code to handle the open event.
    }
</script>

Event Tags

kendo:dropDownTree-change

Fired when the value of the widget is changed by the user.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the change event documentation.

Example

<kendo:dropDownTree>
    <kendo:dropDownTree-change>
        <script>
            function(e) {
                // Code to handle the change event.
            }
        </script>
    </kendo:dropDownTree-change>
</kendo:dropDownTree>

kendo:dropDownTree-close

Fired when the popup of the widget is closed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the close event documentation.

Example

<kendo:dropDownTree>
    <kendo:dropDownTree-close>
        <script>
            function(e) {
                // Code to handle the close event.
            }
        </script>
    </kendo:dropDownTree-close>
</kendo:dropDownTree>

kendo:dropDownTree-dataBound

Fired when the widget or sub levels of its items are bound to data from the dataSource.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the dataBound event documentation.

Example

<kendo:dropDownTree>
    <kendo:dropDownTree-dataBound>
        <script>
            function(e) {
                // Code to handle the dataBound event.
            }
        </script>
    </kendo:dropDownTree-dataBound>
</kendo:dropDownTree>

kendo:dropDownTree-filtering

Fired when the widget is about to filter the data source.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the filtering event documentation.

Example

<kendo:dropDownTree>
    <kendo:dropDownTree-filtering>
        <script>
            function(e) {
                // Code to handle the filtering event.
            }
        </script>
    </kendo:dropDownTree-filtering>
</kendo:dropDownTree>

kendo:dropDownTree-open

Fired when the popup of the widget is opened by the user.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the open event documentation.

Example

<kendo:dropDownTree>
    <kendo:dropDownTree-open>
        <script>
            function(e) {
                // Code to handle the open event.
            }
        </script>
    </kendo:dropDownTree-open>
</kendo:dropDownTree>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy