Zum Hauptinhalt springen

task_date

Description

Definiert das Datumsformat, das für das Label im Abschnitt 'Time period' der Lightbox verwendet wird

task_date: (date: Date) => string

Parameters

  • date - (required) Date - der Datumswert, der formatiert wird

Returns

  • text - (string) - html-Inhalt, der im Gantt angezeigt wird

Example

gantt.templates.task_date= function(date){
return gantt.date.date_to_str(gantt.config.task_date)(date);
};
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.