Skip to main content

load_format

Description

Specifies the format of requests in the dynamic loading mode

load_format: (date: Date) => string

Parameters

  • date - (required) Date - the date which needs formatting

Returns

  • text - (string) - html text for rendering in the 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

The default format of requests is:

some.php?from=DATEHERE&to=DATEHERE

where DATEHERE - a valid date value in the format defined by the load_date option (according to the default definition of the load_format template).

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.