Searches the data source for the provided value and displays any matches as suggestions.

Parameters

word String

The filter value.

Example - search the widget

<input id="dropdowntree" />

<script>
    $("#dropdowntree").kendoDropDownTree({
        dataSource: [{ text: "a-item1", value: 1 }, { text: "b-item2", value: 2 }],
        filter: "startswith"
    });
    var dropdowntree = $("#dropdowntree").data("kendoDropDownTree");
    dropdowntree.open();
    dropdowntree.search("a");
</script>
In this article