GRID_full_date
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) - html-контент для отображения в scheduler
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
примечание
Этот template зависит от включенного плагина 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.