tooltip_date_format
Description
Definiert, wie Start- und Enddaten im Tooltip angezeigt werden
tooltip_date_format: (date: Date) => string;
Parameters
date- (required) Date - das zu formatierende Datum
Returns
text- (string) - html-Text, der im Gantt-Tooltip angezeigt wird
Example
gantt.templates.tooltip_date_format=function (date){
var formatFunc = gantt.date.date_to_str("%Y-%m-%d %H:%i");
return formatFunc(date);
};
Details
Hinweis
Diese Vorlage ist Teil der tooltip-Extension. Stellen Sie daher sicher, dass das tooltip Plugin aktiviert ist. Weitere Informationen finden Sie im Artikel "Tooltips für Gantt-Elemente".
Related API
Related Guides
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.