tagMode String(default: "multiple")

The mode used to render the selected tags when checkboxes are enabled. 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

When tagMode is to single its message can be configured by setting singleTag message property.

Example - specify tagMode as a 'single'

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