Hello,
Thank you so much for your product. I have a project use your scheduler. We want to limit users, just allow them to choose the event in 5 minutes (have 12 slots for 1 hour). So did we have function for this limit ?
Best regards
Thanh
Hello,
Thank you so much for your product. I have a project use your scheduler. We want to limit users, just allow them to choose the event in 5 minutes (have 12 slots for 1 hour). So did we have function for this limit ?
Best regards
Thanh
You want to force the max event length ?
docs.dhtmlx.com/scheduler/api__s … onfig.html
docs.dhtmlx.com/scheduler/api__s … onfig.html
Thank you so much, i have another issue which forced with it now, can you help me on it?
I used a customize Lightbox form to add/edit the event with method:
scheduler.startLightbox(id, html(“FlightFrm”));
But i can’t use “ESC” key to close the Lightbox, is there any attribute/function to make close/exit the Event form with “ESC” key ? or i need to add the code to process it ?
Best regards
Thanh
Default hotkeys are disabled, when you are using custom lightbox.
You can use something like
dhtmlxEvent(document.body, "keydown", function(e){
if ((e||event).keyCode == scheduler.keys.edit_cancel)
scheduler.cancel_lightbox();
});
Hi Stanislav,
Thank you very much for your support. I can fix the issue on my project now.
Best regards
Thanh