{timelineName}_cell_value

表示视图中单元格内排定的事件数量

evsarray包含该单元格内事件对象的数组
dateDate对应单元格的日期
sectionobject对应的 section 对象

Available only in PRO Edition

Example

scheduler.templates.timeline_cell_value = function(evs, date, section){
    return evs ? evs.length : "";
};

Applicable views:Timeline 视图
Details

该模板需要启用 timeline 插件。

默认情况下,该模板仅在 Timeline 视图的 'cell' 模式下触发。但是,如果开启了 Timeline 视图cell_template 选项,该模板也会在视图的所有其他模式中被调用。

See also
返回顶部