Splitter Overview

The Splitter provides a dynamic layout of resizable and collapsible panes.

It converts the children of an HTML element into an interactive layout and adds resize and collapse handles depending on its configuration. The vertical and horizontal orientation of the Splitter can be combined to build complex layouts. The Splitter provides default configuration options such as a maximum and minimum pane size, resizable and collapsible or expandable pane behaviors, and horizontal and vertical orientation.

Kendo UI for jQuery Kendoka image

The Splitter is part of Kendo UI for jQuery, a professional grade UI library with 90+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Initializing the Splitter

The layout and structure of the Splitter are defined within the DOM as a <div> container with child elements.

The following example demonstrates how to create a Kendo UI Splitter with children that become panes in the resulting layout of the page. When the Splitter is initialized, a vertical split bar will be placed between the two <div> elements. This bar can be moved by users to the left and right to adjust the size of the panes.

<div id="splitter">
    <div>Area 1</div>
    <div>Area 2</div>

The following example demonstrates how to initialize the Splitter by using a jQuery selector.

  • Initialize the Splitter after the DOM is fully loaded and create it within a $(document).ready() statement.
  • The Splitter must be visible at the time of initialization. If it is nested in a hidden container, execute the resize method of the Splitter as soon as it becomes visible.
$(document).ready(function() {

Basic Configuration

You have to define the properties of a pane during initialization and to set them for each individual pane in a Splitter.

    panes: [
        { collapsible: true, min: "100px", max: "300px" },
        { collapsible: true }
    orientation: "vertical"

Functionality and Features

Referencing Existing Instances

To refer to an existing Splitter instance, use the jQuery.data(). Once a reference is established, use the Splitter API to control its behavior.

The following example demonstrates how to access an existing Splitter instance.

var splitter = $("#splitter").data("kendoSplitter");

See Also

In this article
Not finding the help you need? Improve this article