agenda_day

specifies the content of the day cell of the Agenda view

dateDatethe date which needs formatting

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 class="dhx_agenda_day_date">${dayDateToStr(date)}</div>
    <div class="dhx_agenda_day_dow">${dayDowToStr(date)}</div>`;
};

See also
  • Articles
  • Change log

    added in v7.0

    Back to top