week_agenda_date
信息
此功能仅在 PRO 版本中可用。
Description
定义在 Week Agenda 视图头部显示的日期
week_agenda_date: (start: Date, end: Date) => void
Parameters
start- (required) Date - 视图的起始日期end- (required) Date - 视图的结束日期
Example
scheduler.templates.week_agenda_date = function(start, end){
return scheduler.templates.day_date(start)+" – "+
scheduler.templates.day_date(scheduler.date.add(end,-1,"day"));
};
Applicable views: Week Agenda view
Details
注释
该模板仅在启用 week_agenda 插件时生效。
Related Guides
Change log
- 在 v6.0 中添加
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.