DragBase

Base class for EventDrag (Scheduler) and TaskDrag (Gantt) features. Contains shared code. Not to be used directly.

Configs

16

Common

disabledInstancePlugin
listenersEvents

Other

allowNonWorkingTimeSNET: Boolean= false

Whether to allow the SNET constraint generated by an event drag to be placed in non- working time. When true and the event is dragged so that its startDate is in non-working time, the SNET constraint date will be kept on the non-working date where the task is dropped. When false, snaps the SNET date to working time in the same way as the startDate. The startDate is not affected by this config.

Applies only to Scheduler Pro and Gantt.

Set to false to allow dragging tasks outside the client Scheduler. Useful when you want to drag tasks between multiple Scheduler instances

An object used to configure the internal DragHelper class

showExactDropPosition: Boolean= false

When enabled, the event being dragged always "snaps" to the exact start date that it will have after drop.

Specifies whether to show tooltip while dragging event

The eventDragand taskDrag events are normally only triggered when the drag operation will lead to a change in date or assignment. By setting this config to false, that logic is bypassed to trigger events for each native mouse move event.

A config object to allow customization of the Tooltip which tracks the event during a drag operation.

Misc

clientInstancePlugin
localeClassLocalizable
localizableLocalizable

Properties

19

Common

disabledInstancePlugin

Class hierarchy

isDragBase: Boolean= truereadonly
Identifies an object as an instance of DragBase class, or subclass thereof.
isDragBase: Boolean= truereadonlystatic
Identifies an object as an instance of DragBase class, or subclass thereof.
isEventsEvents
isInstancePluginInstancePlugin
isLocalizableLocalizable

Other

isDragging: Booleanreadonly

Returns true if a drag operation is active

Specifies whether to show tooltip while dragging event

The eventDragand taskDrag events are normally only triggered when the drag operation will lead to a change in date or assignment. By setting this config to false, that logic is bypassed to trigger events for each native mouse move event.

Yields the Tooltip which tracks the event during a drag operation.

Lifecycle

configBase

Misc

clientInstancePlugin
localeHelperLocalizable
localeManagerLocalizable

Functions

29

Other

Gets html to display in tooltip while dragging event. Uses clockTemplate to display start & end dates.

LstaticLocalizable
onEvents
relayAllEvents
triggerEvents
unEvents

Configuration

applyDefaultsstaticBase

Events

Lifecycle

destroystaticBase

Misc

doDisableInstancePlugin
initClassstaticBase
isOfTypeNamestaticBase
mixinstaticBase
optionalLstaticLocalizable

Events

5
catchAllEvents
destroyEvents
disableInstancePlugin
enableInstancePlugin

Event handlers

5
onDestroyEvents
onDisableInstancePlugin
onEnableInstancePlugin

Typedefs

1