DHTMLX Docs & Samples Explorer

setCurrentView(date, mode)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxscheduler.js

sets the current mode and displayed date

  • date - date object, which defines current view date;
  • mode - string, current view mode;
    • day;
    • week;
    • month.