remove

Fires when the user clicks the remove icon of the Chip.

Event Data

e.originalEvent Object

The original DOM event.

e.sender kendo.ui.ChipList

The ChipList instance that triggered the event.

e.preventDefault Function

If invoked prevents the ChipList from removing the Chip item.

Example

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

<script>
    $("#chiplist").kendoChipList({
        removable: true,
        items: [
            { text: "Home", icon: "home" },
            { text: "Info", icon: "info-circle" },
            { text: "Contact", icon: "envelope" }
        ],
        remove: function (ev) {
            var item = ev.item;

            alert(item.element.text());
        }
    })
</script>
In this article