Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vance on Aug 10, 2009 07:40
open dhtmlx forum
Scheduler with units and recurring events in lightbox

I'm new to dhtmlxScheduler but so far I am very impressed. I've been playing with recurring events and using 'units' views, and have successfully gotten them to work separately. What I would really like to do is use them both together, enabling a user to enter a recurring event and assigning it to a unit within the lightbox. I'm trying to build a family calendar that each family member can input a (possibly) recurring event assigned to themselves.

Any help would be greatly appreciated!

Answer posted by Support on Aug 11, 2009 10:22
>>Any help would be greatly appreciated!
Actually the both extensions can be used in the same time, just include necessary js files and you will be able to use recurring events and units view.

The only tricky place is definition of edit form - it will use "recurring form" as a base, so it will differ from the one in the sample. 


scheduler.config.lightbox.sections=[
{name:"description", height:130, map_to:"text", type:"textarea" , focus:true},
{name:"custom", height:23, type:"select", options:sections, map_to:"section_id" },   // section for units
 {name:"recurring", height:115, type:"recurring", map_to:"rec_type", button:"recurring"}, //section for recurring control
{name:"time", height:72, type:"time", map_to:"auto"}
]
Answer posted by Vance on Aug 10, 2009 12:36
Thank you!  That works perfectly now!