reload

Reloads the content of a PanelBar from an AJAX request.

Example

<ul id="panelbar">
    <li>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");
    // reload the panel bar
    panelBar.reload("> .k-item");
</script>

Parameters

element String|Element|jQuery

Target element

In this article