navigatable Boolean
(default: true)
Indicates whether the keyboard navigation is enabled or disabled.
If you set the
navigatable
option totrue
, you also have to setselectable
.
Example
<select id="listBox"></select>
<script>
$("#listBox").kendoListBox({
navigatable: true,
selectable: "single",
dataSource: [
{ name: "Item 1", id: 1 },
{ name: "Item 2", id: 2 },
{ name: "Item 3", id: 3 }
],
dataTextField: "name",
dataValueField: "id"
});
</script>