Clear Up
SharpKit Reference

Sortable Class

Namespace: Ext

Base Types

System.Object

Constructors

Name Description
Sortable()
Sortable(SortableConfig)
Sortable(object, object) Creates new Sortable. @param {Mixed} el @param {Object} config

Methods

Name Description
calculateBoxes()
disable() Disables sorting for this Sortable.
enable() Enables sorting for this Sortable. This method is invoked immediately after construction of a Sortable unless the disabled configuration is set to true.
isDisabled() Method to determine whether this Sortable is currently disabled. @return {Boolean} the disabled state of this Sortable.
isHorizontal() Method to determine whether this Sortable is currently sorting. @return {Boolean} the sorting state of this Sortable.
isSorting() Method to determine whether this Sortable is currently sorting. @return {Boolean} the sorting state of this Sortable.
isVertical() Method to determine whether this Sortable is currently disabled. @return {Boolean} the disabled state of this Sortable.
onDrag(object, object)
onDragEnd(object, object)
onSortStart(object, object)
onStart(object, object)

Properties

Name Description
cancelSelector @cfg {String} cancelSelector A simple CSS selector that represents elements within the draggable that should NOT initiate a drag.
direction @cfg {String} direction Possible values: 'vertical', 'horizontal' Defaults to 'vertical'
disabled @cfg {Boolean} disabled Passing in true will disable this Sortable.
group @cfg {String} group Draggable and Droppable objects can participate in a group which are capable of interacting. Defaults to 'base'
handleSelector @cfg {String} handleSelector A simple CSS selector to indicate what is the handle to drag the Sortable.
itemSelector @cfg {String} itemSelector A simple CSS selector that represents individual items within the Sortable.
revert @cfg {Boolean} revert This should NOT be changed. @private
sorting Read-only property that indicates whether a Sortable is currently sorting. @type Boolean @private
© Copyright 2005-2011 SharpKit. All rights reserved.