Zum Hauptinhalt springen

load_format

Description

Definiert das Anforderungsformat, das im dynamischen Lade-Modus verwendet wird

load_format: (date: Date) => string

Parameters

  • date - (required) Date - das Datum, das formatiert werden muss

Returns

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

Example

scheduler.templates.load_format = function(date){
var dateToStr_func = scheduler.date.date_to_str(scheduler.config.load_date);
return dateToStr_func(date);

}

Details

Standardmäßig folgen die Anfragen folgendem Format:

some.php?from=DATEHERE&to=DATEHERE

wobei DATEHERE einen gültigen Datumswert darstellt, der gemäß der Option load_date formatiert ist (basierend auf der Standarddefinition der load_format Vorlage).

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.