DHTMLX Docs & Samples Explorer

setWeekStartDay(day)

Sets the start day of weeks.

Parameters:

  • day - the day you want to start weeks on. Can take a value from '1' (Monday) to '7' (Sunday).
myCalendar.setWeekStartDay(1);//weeks start on Monday