GRID_full_date
信息
此功能仅在 PRO 版本中可用。
Description
定义在 id='date' 的列中日期的显示方式
GRID_full_date: (start: Date, end: Date, ev: object) => string;
Parameters
start- (required) Date - 事件的起始日期end- (required) Date - 事件的结束日期ev- (required) object - 事件详情
Returns
text- (string) - 在 scheduler 中显示的 html 内容
Example
scheduler.templates.grid_full_date = function(start,end,event){
if (scheduler.isOneDayEvent(event))
return scheduler.templates.grid_single_date(start);
else
return scheduler.templates.day_date(start)+" – "
+scheduler.templates.day_date(end);
};
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.