DHTMLX Docs & Samples Explorer

setWeekStartDay(day)

Sets the start day of a week.

Parameters:

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