TIMELINE_cell_class
信息
此功能仅在 PRO 版本中可用。
Description
设置将分配给视图中单元格的CSS类
TIMELINE_cell_class: (evs: array, date: Date, section: object) => string;
Parameters
evs- (required) array - 包含单元格内事件对象的数组(仅在"cell"模式下可用)date- (required) Date - 对应列的日期section- (required) object - 节对象
Returns
css_class- (string) - 应用于元素的CSS类
Example
scheduler.templates.timeline_cell_class = function(evs, date, section){
return "";
};
Applicable views: Timeline view
Details
注释
此模板需要启用timeline插件 。
Related API
Related Guides
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.