DHTMLX Docs & Samples Explorer

### Week start day

Source

    <link rel="stylesheet" type="text/css" href="../../codebase/dhtmlxcalendar.css"></link>
        <link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxcalendar_dhx_skyblue.css"></link>
        <script src="../../codebase/dhtmlxcalendar.js"></script>
        <style>
        </style>
        <script>var myCalendar;
    function doOnLoad() {
        myCalendar = new dhtmlXCalendarObject("calendarHere");
        myCalendar.setSkin("dhx_skyblue");
        myCalendar.show();
    }</script>

        <div style="margin-bottom: 20px;">
            <input type="button" value="Mo" onclick="myCalendar.setWeekStartDay(1);">
            <input type="button" value="Tu" onclick="myCalendar.setWeekStartDay(2);">
            <input type="button" value="We" onclick="myCalendar.setWeekStartDay(3);">
            <input type="button" value="Th" onclick="myCalendar.setWeekStartDay(4);">
            <input type="button" value="Fr" onclick="myCalendar.setWeekStartDay(5);">
            <input type="button" value="Sa" onclick="myCalendar.setWeekStartDay(6);">
            <input type="button" value="Su" onclick="myCalendar.setWeekStartDay(7);">
        </div>
        <div id="calendarHere" style="position:relative;height:250px;"></div>