Hi,
Using the function ‘scheduler.load’, it is possible to load the existing events.Suppose I want capture the new event I have added , how can I do it.
Hello,
you can use onEventCreated event handler:
scheduler.attachEvent(“onEventCreated”, function(event_id,event_object){
/your code here/
});
Hi,
Thanks,I am able to capture the event. Suppose i want to get the details of the event I have added, how should I proceed.
method getEvent allows to get event object by its id. So, the possible method is:
scheduler.attachEvent(“onEventCreated”, function(event_id,event_object){
var event = scheduler.getEvent(event_id);
alert(event.text);
});