TaskEditBase

Base class for taskEdit and the Gantt projectEdit features.

Configs

16

Common

disabledInstancePlugin
listenersEvents

Editor

Class to use as the editor.

saveAndCloseOnEnter: Boolean= true

True to save and close this panel if ENTER is pressed in one of the input fields inside the panel.

triggerEvent: String

The event that shall trigger showing the editor. Set to `` or null to disable editing.

Other

blurAction: cancel | save= cancel

What action should be taken when you click outside the editor, cancel or save

A configuration object applied to the internal editor.

When field in task editor is changed, project model normally will trigger hasChanges event. If you use this event to handle project changes excessive events might be a problem. Set this flag to true to only trigger single hasChanges event after task changes are applied.

weekStartDay: Number

The week start day used in all date fields of the feature editor form by default. 0 means Sunday, 6 means Saturday. Defaults to the locale's week start day.

Misc

clientInstancePlugin
localeClassLocalizable
localizableLocalizable

Properties

18

Common

disabledInstancePlugin

Class hierarchy

isTaskEditBase: Boolean= truereadonly
Identifies an object as an instance of TaskEditBase class, or subclass thereof.
isTaskEditBase: Boolean= truereadonlystatic
Identifies an object as an instance of TaskEditBase class, or subclass thereof.
isDelayableDelayable
isEventsEvents
isInstancePluginInstancePlugin
isLocalizableLocalizable
isTaskEditStmTaskEditStm

Other

isEditing: Booleanreadonly

Returns true if the editor is currently active

Lifecycle

configBase

Misc

clientInstancePlugin
localeHelperLocalizable
localeManagerLocalizable

Functions

31

Other

Call this method to close task editor reverting changes.

Returns: Promise -

A promise which is resolved when the task editor is closed and changes are reverted.

Call this method to close task editor saving changes.

Returns: Promise -

A promise which is resolved when the task editor is closed and changes are saved.

createOnFrameDelayable
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

2