filter String
(default: "none")
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 - set the filter
<input id="ddt" />
<script>
$("#ddt").kendoDropDownTree({
dataSource: [
{ text: "Chai", value: 1 },
{ text: "Chang", value: 2 },
{ text: "Tofu", value: 3 }
],
filter: "contains"
});
</script>