Zum Hauptinhalt springen

onAfterTaskAdd

Description

Wird direkt ausgelöst, nachdem eine Aufgabe zum Gantt-Diagramm hinzugefügt wurde

onAfterTaskAdd: (id: string | number, task: Task) => void;

Parameters

  • id - (required) string | number - die ID der Aufgabe
  • task - (required) Task - das Aufgabenobjekt

Example

gantt.attachEvent("onAfterTaskAdd", function(id,task){
//beliebige eigene Logik hier
});
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.