본문으로 건너뛰기

agenda_day

Description

Agenda 뷰의 날짜 셀 내부에 표시될 내용을 정의합니다.

agenda_day: (date: Date) => string

Parameters

  • date - (required) Date - 형식화가 필요한 날짜입니다.

Returns

  • text - (string) - scheduler에 표시될 html 콘텐츠입니다.

Example

const dayDateToStr = scheduler.date.date_to_str("%F %j");
const dayDowToStr = scheduler.date.date_to_str("%l");

scheduler.templates.agenda_day = function(date){
return `<div className="dhx_agenda_day_date">${dayDateToStr(date)}</div>
<div className="dhx_agenda_day_dow">${dayDowToStr(date)}</div>`;
};

Change log

  • v7.0에 추가됨
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.