I add a canlendar on schedule that to select the working day. But I want to edit the calendar. By default, the start day is monday. I want to change the starting day is sunday.
The calendar is on schedule
I want to ask how change the starting day format ?
The following code is to add the calendar on schedule.
<div class="dhx_cal_navline">
<div class="dhx_cal_date"></div>
<div class="dhx_minical_icon" id="dhx_minical_icon" onclick="show_minical()"> </div>
function show_minical() {
if (scheduler.isCalendarVisible())
scheduler.destroyCalendar();
else
scheduler.renderCalendar({
position: "dhx_minical_icon",
date: scheduler._date,
navigation: true,
handler: function (date, calendar) {
scheduler.setCurrentView(date);
scheduler.destroyCalendar()
}
});
}
Thanks for your help !
Ivan