Required library edition:
Required library file: dhtmlxlayout.js
attaches dhtmlxScheduler to a cell
date - (optional) a js date object, the initial date in the scheduler. By default, the current date
mode - (optional) the name of the default mode as string ( 'month','day','week' ). By default, 'week'
cont_id - (optional) can be defined in 2 ways:
container_id - the id of a DIV that specifies the entire scheduler configuration.
tabs - the string with the tabs DIVs. In this case, the scheduler will be rendered with the default configuration except for the tabs: they can be presented by the default 'day', 'week', 'month' members or by any other tabs collection.
scheduler - (optional) the dhtmlxScheduler object ( the parameter is available ONLY in the PRO version)
dhxLayout.cells("a").attachScheduler(null,"month");// the layout will create the container itself
//or
dhxLayout.cells("a").attachScheduler(null,"month", "scheduler_here");
//or
dhxLayout.cells("a").attachScheduler(null,"month", '<div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div><div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div><div class="dhx_cal_tab" name="month_tab" style="right:280px;"></div><div class="dhx_cal_tab" name="timeline_tab" style="right:76px;"></div>');