DHTMLX Docs & Samples Explorer

attachScheduler(date, mode)

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

attaches dhtmlxScheduler to a cell

  • date - a js date object, the initial date in the scheduler, optional - the current date will be used by default
  • mode - the name of the default mode as string ( 'month','day','week' ), optional - 'week' by default
dhxLayout.cells("a").attachScheduler(null,"month");