TaskEditor
Popup used to edit tasks. Normally displayed using the TaskEdit feature.
By default, the editor live updates the task being edited. If you prefer to use buttons to save/cancel the edit, set autoUpdateRecord to false.
Items
By default, it displays the following items:
| Ref | Type | Weight | Comment |
|---|---|---|---|
| name | text | 100 | Task name |
| description | textarea | 200 | Task description |
| resources | resourcescombo | 300 | Assigned resources |
| color | taskcolorcombo | 400 | Task eventColor |
| column | columncombo | 500 | Bound to configured columnField |
| swimlane | swimlanecombo | 600 | Bound to configured swimlaneField |
If configured with autoUpdateRecord: false it also displays a bottom toolbar with the following items:
| Ref | Type | Weight | Comment |
|---|---|---|---|
| saveButton | button | 100 | Save |
| cancelButton | button | 200 | Cancel |
Customization
Popup and its items can be customized through the feature (see TaskEdit fore more info):
Or by subclassing and instructing the feature to display the new editor:
Configs
Configs are options you supply in a configuration object when creating an instance of this class-
By default the editor automatically updates the edited task when a field is changed. Set this to
falseto show Save / Cancel buttons and take manual control of the updating. -
Center the editor in browser viewport space. Defaults to true for desktop browsers using a pointer device
-
Shows a tool used to close the editor in the header.
-
Update fields if the record changes
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of TaskEditor class, or subclass thereof.
-
Identifies an object as an instance of TaskEditor class, or subclass thereof.