collapse

Collapses a specified pane. Invoking this method will force the widget to redraw and it will trigger the resize event. Note: Invoking the method will not trigger a collapse event.

Parameters

pane String|Element|jQuery

The pane to be collapsed.

Example

<div id="splitter">
  <div>Pane A</div>
  <div>Pane B</div>
</div>
<script>
$("#splitter").kendoSplitter({
  panes: [ { collapsible: true }, {} ]
});
var splitter = $("#splitter").data("kendoSplitter");
splitter.collapse(".k-pane:first");
</script>
In this article