Dear All
I 'd like to fill some text to in title of agenda view.
See in red circles of attached file.
How can I fill some text to title of agenda view?
Thanks for advance.
Best regards,
Naphong
Dear All
I 'd like to fill some text to in title of agenda view.
See in red circles of attached file.
How can I fill some text to title of agenda view?
Thanks for advance.
Best regards,
Naphong
hi,
you can define a template function for the view header on the client side.
The function can be defined as
scheduler.templates.<viewName>_date = function(date){
return htmlString;
};
where argument is a minimal displayed date of the view
JS:
var to_str = scheduler.date.date_to_str("%D, %F %j");
scheduler.templates.agenda_date = function(date){
return to_str(date) + " - ...";
};