autoWidth Boolean
If set to true
, the widget automatically adjusts the width of the popup element and does not wrap up the item label.
Note: Virtualized list doesn't support the auto-width functionality.
Example - enable autoWidth
<input id="autocomplete" style="width: 100px;" />
<script>
$("#autocomplete").kendoAutoComplete({
autoWidth: true,
dataSource: {
data: ["Short item", "An item with really, really long text"]
}
});
</script>