Hello,
I am trying to get the start and end date of an event via scheduler.getEventEndDate(event_id).
code:
…
scheduler.attachEvent(“onEventChanged”, function(event_id,event_object){
alert(scheduler.getEventEndDate(event_id));
});
…
But the function throw me an error, the function don’t exist for the object scheduler.
Am i wrong? How do we get the date of an event?
Many thanks
hello,
sorry for the misleading information. We will fix this issue. Currently please, use getEvent(event_id).end_date method instead of getEventEndDate as follows:
scheduler.attachEvent(“onEventChanged”, function(event_id,event_object){
alert(scheduler.getEvent(event_id).end_date);
});
Thanks you very much for the quick response !
It works !