remove

Removes the specified PanelBar item(s).

Example

<ul id="panelbar">
    <li id="Item1">Item 1
        <ul>
            <li>Sub Item 1</li>
            <li>Sub Item 2</li>
            <li>Sub Item 3</li>
        </ul>
    </li>
    <li>Item 2
        <ul>
            <li>Sub Item 1</li>
            <li>Sub Item 2</li>
            <li>Sub Item 3</li>
        </ul>
    </li>
</ul>
<script>
    $("#panelbar").kendoPanelBar();
    // get a reference to the panel bar
    var panelBar = $("#panelbar").data("kendoPanelBar");
    // remove Item 1
    panelBar.remove("#Item1");
</script>

Parameters

element String|Element|jQuery

The PanelBar item(s) to be removed, expressed as a selector string, DOM element or a jQuery object.

In this article