tagMode String(default: "multiple")

The mode used to render the selected tags. The available modes are:

  • multiple - renders a tag for every selected value
  • single - renders only one tag that shows the number of the selected values

Every tagMode has a specific tagTemplate value. If you would like to control the content of the rendered tags, set a custom a tagTemplate value.

Example - set the tagMode

<input id="multiselect" style="width: 400px;" />
<script>
    $("#multiselect").kendoMultiSelect({
        dataSource: [
            { id: 1, name: "Apples" },
            { id: 2, name: "Oranges" },
            { id: 3, name: "Bananas" }
        ],
        dataTextField: "name",
        dataValueField: "id",
        tagMode: "single"
    });
</script>
In this article