sheduler.showLightbox not firing


Am trying to fire a custom function when a user double clicks on an empty date in sheduler.

scheduler.showLightbox = function(id){

// id - id of event



I have added this code after init-ing the scheduler next to my custom events, but it does not fire the alert and still opens the create item form. Ideally I would want to extract the date/time of the cell double clicked and pass to a custom modal (completely outside of scheduler). Can you please explain what I am doing incorrectly.



showLightbox allows to set custom details form.

You can use onEventCreated event instead

alert(“data is”+scheduler.getEvent(event_id).start_date);