toggle

Opens or closes the widget popup.

Parameters

toggle Boolean (optional)

Defines the whether to open/close the drop-down list.

Example - set text of the widget

<input id="dropdownlist" />
<script>
$("#dropdownlist").kendoDropDownList({
  dataSource: [ "Apples", "Oranges" ]
});

var dropdownlist = $("#dropdownlist").data("kendoDropDownList");

dropdownlist.toggle();
</script>
In this article