Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rose on Nov 10, 2009 16:52
open dhtmlx forum
Using Recurring & shared events together

Hi there,
Is it possible to use both your recurring and shared events features together? Shared events works for me, but I can't get the Repeat Event section to render on the pop-up form.

Do we have to do anything to enable it?
I looked at the sample provided and I don't see any additional settings, besides making sure the needed fields are present in the XML data.

Is it possible to provide a debug/unpacked version of the dhtmlxscheduler_recurring.js file or perhaps point to where I can download it from?

Thank you!
Rose
Answer posted by Stanislav (support) on Nov 11, 2009 02:22
>>to render on the pop-up form
assuming that dhtmlxscheduler_recurring.js is included, you need to add the "recurring" section to used lightbox configuration

scheduler.config.lightbox.sections=[
   {name:"description", height:130, map_to:"text", type:"textarea" , focus:true},
   {name:"type", height:21, type:"select", map_to:"event_type", options:[
     { key:0, label:"Private event" },
     { key:1, label:"Shared event" }
   ]},
   {name:"recurring", height:115, type:"recurring", map_to:"rec_type", button:"recurring"},
   {name:"time", height:72, type:"time", map_to:"auto"}
]

>>point to where I can download it from?
Inside scheduler's package, it is stored at 
   sources/recurring.js