selectable String
(default: "single")
Indicates whether the selection is single or multiple. The possible values are:
-
"single"
- A single-item selection. -
"multiple"
- A multiple-item selection.
Example
<select id="listBox"></select>
<script>
$("#listBox").kendoListBox({
selectable: "multiple",
dataSource: [
{ name: "Item 1", id: 1 },
{ name: "Item 2", id: 2 },
{ name: "Item 3", id: 3 }
],
dataTextField: "name",
dataValueField: "id"
});
</script>