week_date
Description
Specifies the date in the header of the view
week_date: (start: Date, end: Date) => string
Parameters
start- (required) Date - the start date of the viewend- (required) Date - the end date of the view
Returns
text- (string) - html text for rendering in the scheduler
Example
scheduler.templates.week_date = function(start, end){
return scheduler.templates.day_date(start)+" – "+
scheduler.templates.day_date(scheduler.date.add(end,-1,"day"));
};
Applicable views: Week view, Week Agenda view
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.