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 - enable autoWidth

<input id="dropdowntree" style="width: 100px;">
<script>
$("#dropdowntree").kendoDropDownTree({
  dataSource: [{ text: "Short item", value: 1 }, { text: "An item with really, really long text", value: 2 }],
  autoWidth: true
});
</script>
In this article