I would like to handle clicks on week_scale_date. I know there is a template for it:
scheduler.templates.week_scale_date = function(date) {
return format(date);
};
But how can I execute my custom code when user clicks on this header and also pass the date? I need something like this:
scheduler.templates.week_scale_date_click = function(date) {
my_custom_function(date);
};