Splitter Orientation in JQuery Splitter widget

15 Dec 20171 minute to read

The Splitter supports both vertical and horizontal orientation of the pane. You can declare the orientation by using enum, ej.Orientation.Vertical or ej.Orientation.Horizontal, that have the corresponding value of vertical and horizontal as a string.

Configure Splitter Orientation

The following steps explain the implementation of Splitter orientation option.

In the HTML page set the <div> element for rendering Splitter widget.

  • HTML
  • <div id="splitter">
            <div style="padding: 0px 15px;">
                <h3 class="h3">Tools </h3>
                Essential Tools is an collection of user interface components used to create interactive
                ASP.NET MVC applications.
            <div style="padding: 0px 15px;">
                <h3 class="h3">Grid </h3>
                Essential MVC Grid offers full featured a Grid control with extensive support for
                Grouping and the display of hierarchical data.
  • $("#splitter").ejSplitter({
                height: 280, width: 600,
                orientation: ej.Orientation.Vertical,

    The output for Splitter with ej.Orientation.Vertical.


    The output for Splitter with ej.Orientation.Horizontal.