enable

Toggles item's enabled state.

Parameters

element HTMLElement|jQuery (required)

Specifies an existing item element in the ChipList.

state Boolean (optional)

Specifies the state of the element.

Example

<div id="chiplist"></div>

<script>
    var chiplist = $("#chiplist").kendoChipList({
        items: [
            { label: "Home", icon: "home", enabled: false, attributes: { id: "home" } },
            { label: "Info", icon: "info-circle" },
            { label: "Contact", icon: "envelope" }
        ]
    }).data("kendoChipList");

    chiplist.enable($("#home"), true);
</script>
In this article