Zum Hauptinhalt springen

GRID_date

Info

Dieses Feature ist nur in der PRO Edition verfügbar.

Description​

Setzt das im Header der Ansicht angezeigte Datum

GRID_date: (start: Date, end: Date) => string;

Parameters​

  • start - (required) Date - der Anfangstermin der Ansicht
  • end - (required) Date - der Endtermin der Ansicht

Returns​

  • text - (string) - HTML-Text zur Darstellung im Scheduler

Example​

// Standarddefinition
scheduler.templates.grid_date = function(start, end){
return scheduler.templates.day_date(start)
+ " - "
+ scheduler.templates.day_date(end);
};

Applicable views: Grid view

Details​

Hinweis

Diese Vorlage funktioniert nur, wenn das grid_view Plugin aktiviert ist.

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.