Properties Methods Events Config Options Direct Link
Observable
  SplitBar

Class Ext.SplitBar

Package:Ext
Defined In:SplitBar.js
Class:SplitBar
Extends:Observable
* Creates draggable splitter bar functionality from two elements (element to be dragged and element to be resized).

Usage:
var split = new Ext.SplitBar("elementToDrag", "elementToSize",
                   Ext.SplitBar.HORIZONTAL, Ext.SplitBar.LEFT);
split.setAdapter(new Ext.SplitBar.AbsoluteLayoutAdapter("container"));
split.minSize = 100;
split.maxSize = 600;
split.animate = true;
split.on('moved', splitterMoved);

Config Options

Config Options Defined By

Public Properties

Property Defined By
  animate : Boolean
Whether to animate the transition to the new size
SplitBar
  maxSize : Number
The maximum size of the resizing element. (Defaults to 2000)
SplitBar
  minSize : Number
The minimum size of the resizing element. (Defaults to 0)
SplitBar
  useShim : Boolean
Whether to create a transparent shim that overlays the page when dragging, enables dragging across iframes.
SplitBar

Public Methods

Method Defined By

Public Events

Event Defined By