How do i prevent the text area from opening? i have my own event form i wish to redirect to. all i need is the start time and date.
Are you trying to prevent lightbox opening?
You can prevent lightbox oppening using onBeforeLightbox event handler. docs.dhtmlx.com/scheduler/api__s … event.html
In this handler you can also get event info using id parameter.
Ok, so i used
scheduler.attachEvent(“onBeforeLightbox”, function (id){
console.log(id);
return true;
});
how do i get the time range or event object from the id ?
My aim is to get the start and end time and redirect to my “add event” page with those params.
Thank you!
Never mind, i got it
scheduler.getEvent(id);