Zum Hauptinhalt springen

correctTaskWorkTime

Description

Berechnet die Aufgabendauer basierend auf der Arbeitszeit neu

correctTaskWorkTime: (task: Task) => void

Parameters

  • task - (required) Task - das Aufgabenobjekt

Example

gantt.attachEvent("onTaskDrag", function(id, mode, task, original){
gantt.correctTaskWorkTime(task);
});

Details

Diese Methode funktioniert, wenn die folgenden Konfigurationsoptionen aktiviert sind:

gantt.config.work_time = true;
gantt.config.correct_work_time = true;
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.