I saw few days ago a property to set events new/edit with one click instead double click. I would like to apply it, but i don’t find the property.
Thanks
I saw few days ago a property to set events new/edit with one click instead double click. I would like to apply it, but i don’t find the property.
Thanks
Hello,
i’m not sure if there is such property, but you can do it with client-side onClick and onEmptyClick event handlers
docs.dhtmlx.com/scheduler/api__s … event.html
docs.dhtmlx.com/scheduler/api__s … event.html
docs.dhtmlx.com/scheduler/api__s … htbox.html
docs.dhtmlx.com/scheduler/api__s … event.html
There is also quick info extension, which shows small details popup on a single click
DHXScheduler.Extensions.Add(SchedulerExtensions.Extension.QuickInfo);
Thanks, I’ve found the property click_form_details :
sched.config.click_form_details = true;
But it’s not working.
I like your suggest as well, but I will need to raise other event doubleclik into event click, and I do not know how. Something like this:
scheduler.attachEvent("onClick", function (id, e) {
scheduler.raiseEent("doubleClick")
});
It works this way:
scheduler.attachEvent("onClick", function (id, e) {
scheduler.showLightbox(id);
});
scheduler.attachEvent("onEmptyClick", function (date, e) {
var eventId = scheduler.addEvent({
start_date: date,
end_date: date.addMinutes(15)
});
scheduler.showLightbox(eventId);
});
Any way, it’s very strange the property click_form_details is not working.