Zum Hauptinhalt springen

task_time

Description

legt den Datumszeitraum im Kopfbereich der Lightbox fest

task_time: (start: Date, end: Date, task: Task) => string;

Parameters

  • start - (erforderlich) Date - das Datum, an dem eine Aufgabe voraussichtlich beginnt
  • end - (erforderlich) Date - das Datum, an dem eine Aufgabe voraussichtlich abgeschlossen wird
  • task - (erforderlich) Task - das Task-Objekt

Returns

  • text - (string) - HTML-Text, der im Gantt gerendert wird

Example

gantt.templates.task_time = function(start,end,task){
return gantt.templates.task_date(start)+" - "+gantt.templates.task_end_date(end);
};
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.