TIMELINE_second_scale_date
Info
Dieses Feature ist nur in der PRO Edition verfügbar.
Description
Definiert die Elemente, die auf der sekundären X-Achse angezeigt werden
TIMELINE_second_scale_date: (date: Date) => string;
Parameters
date- (required) Date - das Datum, das formatiert werden muss
Returns
text- (string) - HTML-Inhalt, der für das Rendering im Scheduler verwendet wird
Example
scheduler.templates.timeline_second_scale_date = function(date){
var timeline = scheduler.matrix.timeline;
var func = scheduler.date.date_to_str(
(timeline.second_scale && timeline.second_scale.x_date)?
timeline.second_scale.x_date:scheduler.config.hour_date
);
return func(date);
};
Applicable views: Timeline view
Details
Hinweis
Diese Vorlage funktioniert nur, wenn das timeline Plugin aktiviert ist.
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.