본문으로 건너뛰기

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) - 스케줄러 내에 표시할 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 플러그인이 활성화되어 있어야 작동합니다.

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.