Edit this page

remove

Removes items from the widget.

Parameters

element jQuery |Element |String |Array

The items that are to be removed.

Example

<select id="listBox"></select>
<script>
$("#listBox").kendoListBox({
     dataSource: {
        data: [
            { name: "Jane Doe" },
            { name: "Sam Doe" }
        ]
    },
    template: "<div>#:name#</div>"
});
var listBox = $("#listBox").data("kendoListBox");
listBox.remove(listBox.items().first());
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy