GRID_date
信息
此功能仅在 PRO 版本中可用。
Description
设置视图头部显示的日期
GRID_date: (start: Date, end: Date) => string;
Parameters
start- (required) Date - 视图的开始日期end- (required) Date - 视图的结束日期
Returns
text- (string) - 用于scheduler渲染的html文本
Example
//默认定义
scheduler.templates.grid_date = function(start, end){
return scheduler.templates.day_date(start)
+ " - "
+ scheduler.templates.day_date(end);
};
Applicable views: Grid view
Details
注释
该模板仅在启用grid_view插件时生效。
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.