跳转到主要内容

agenda_text

Description

定义在Agenda视图第二列中显示的文本

agenda_text: (start: Date, end: Date, event: any) => string

Parameters

  • start - (required) Date - 事件开始的日期
  • end - (required) Date - 事件结束的日期
  • event - (required) object - 事件数据

Returns

  • text - (string) - 在scheduler中显示的html内容

Example

scheduler.templates.agenda_text = function(start,end,ev){
return ev.text;
};

Applicable views: Agenda view

Details

注释

该模板需要启用agenda_view插件。

如果未设置agenda_text模板,日期部分'd-m-y'将使用day_date模板中的格式。

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.