I’m trying to customize the lightbox …
My question is about how to get the “end_date” and the “start_data” from a event that I’ve just created, I have only the “id” of this new event, and I’m trying to use the event “onEventCreation” to get them… but it is not working for me.
Thanks in advance.
You can use
var event = scheduler.getEvent(id)
to access the event object, which has all properties of related event
>>and I’m trying to use the event “onEventCreation” to get them
It may be better to override showLightbox method with custom function instead.
The showLightbox method also receives ID of event and it occurs each time when lightbox need to be shown ( the onEventCreation may be called when new event created by drag and there is no need to show the details form )