removePane

Removes a pane.

Parameters

id String

The id assigned as a configuration option of the pane.

Example

<div style="height:500px; width:1000px">
    <div id="dockmanager"></div>
</div>
<script>
var dockmanager = $("#dockmanager").kendoDockManager({
            rootPane: {
                type: "split",
                panes: [{
                    type: "content",
                    header: "Pane 1",
                    content: "Pane content"
                },{
                    type: "content",
                    id: "myPaneId",
                    header: "Pane 2",
                    content: "More content"
                }, {
                    type: "content",
                    header: "Pane 3",
                    content: "Other content"
                }, {
                    type: "content",
                    title: "Unpinned",
                    content: "Some unpinned content",
                    unpinnable: {
                        unpinned: true
                    }
                }]
            }
        }).data("kendoDockManager");

        dockmanager.removePane("myPaneId"); // Remove the pane with id "myPaneId".
</script>
In this article