GRID_single_date
信息
此功能仅在 PRO 版本中可用。
Description
定义在 id='start_date' 或 id='end_date' 列中日期的显示方式
GRID_single_date: (date: Date) => string;
Parameters
date- (required) Date - 需要格式化的日期
Returns
text- (string) - 用于渲染 scheduler 的 html 文本
Example
scheduler.templates.grid_single_date = function(date){
return scheduler.templates.day_date(date)+" "+this.event_date(date);
};
Applicable views: Grid view
Details
注释
该模板在启用 grid_view 插件时生效。
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.