scheduler.config.lightbox.sections = [
{name:“vendor”, map_to:“vid”, type:“combo” },
{ name:“recurring”, type:“recurring”, map_to:“rec_type”, button:“recurring” },
{ name:“time”, height:72, type:“calendar_time”, map_to:“auto” }
];
Hi,
yes, that’s a correct configuration for the recurring section in the lightbox.
docs.dhtmlx.com/scheduler/recurr … nglightbox
hello SergeM
thanks fr ur reply.
but i want recurring events enable by default in the lightbox.
means i dont want to click the btn to change enable state.
Thanks.
Hi,
you can you this solution:
scheduler.attachEvent("onLightbox", function (id){
var ev = scheduler.getEvent(id);
if (ev.rec_type)
return; // no need to click for existing series
var block = scheduler.form_blocks["recurring"];
var node = scheduler.formSection("recurring").node;
block.button_click(0, node.previousSibling.firstChild.firstChild, node, node);
});
Hello SergeM,
This works perfect. but its no where mentioned in documentation
Thanks…super like…
Hi,
it’s rather a custom solution used in our projects. For the moment it’s not a part of the documented configuration, you are right.