Movable

Move and resize tasks.

Usage

angular.module('myApp', ['gantt', 'gantt.movable']);
<div gantt>
    <gantt-movable enabled="true"
                   allow-moving="true" 
                   allow-resizing="true"
                   allow-row-switching="true">
    </gantt-movable>
</div>

Attributes

Model

Attributes can be defined for a specific Row or Task object using an object property named movable

{
  ...
  // Inside Row or Task object
  // Full options object
  'movable': {
    'enabled': <Boolean>,
    'allowMoving': <Boolean>,
    'allowResizing': <Boolean>,
    'allowRowSwitching': <Boolean|Function>
  }

  // Or shortcut for enabled property
  'movable': <Boolean>
}

API

Events