跳转到主要内容

TIMELINE_scalex_class

信息

此功能仅在 PRO 版本中可用。

Description

定义将分配给X轴项目的CSS类名称

TIMELINE_scalex_class: (date: Date) => string;

Parameters

  • date - (required) Date - 需要格式化的日期

Returns

  • css_class - (string) - 对应元素的css类

Example

scheduler.templates.timeline_scalex_class = function(date){
return "";
};

Applicable views: Timeline view

Details

注释

此模板需要启用timeline 插件。

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.