Edit this page

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy