Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Gabriel Fojo on Nov 17, 2009 09:24
open dhtmlx forum
Scheduler + Layout

Can i add a Scheduler inside a layout? Thanks
Answer posted by Alex (support) on Nov 17, 2009 09:32

You add scheduler using either attachObject method or attachURL. In the latest case the page with scheduler will be automatically placed into layout cell.

The example for attachObject approach:

dhxLayout.cells("a").attachObject("scheduler_here");

scheduler.init('scheduler_here',null,"day");

Answer posted by Stanislav (support) on Nov 17, 2009 09:36
While it is not supported officially and may be removed in the next version - you can try to use 
       dhxLayout.cells("a").attachScheduler(date, mode); // no further call of scheduler.init is necessary 
Answer posted by Gabriel Fojo on Nov 17, 2009 10:18
Thanks for your answer. I could add the scheduller as an object , this way :

dhxLayout.cells("b").attachObject("calendario");

calendario is the div i had the scheduller working just fine. May i have problems in next versions with this code too? Thanks
Answer posted by Gabriel Fojo on Nov 17, 2009 10:19
Forget my last question. Thanks ;)