$('button').on('click',function(){
var URL = www.abc.com;
scheduler.updateView();
scheduler.clearAll();
scheduler.load(URL,'xml');
});
This is how i’m getting my calendar update. But i need to trigger a custom event just after when data is successfully fetched and in the middle when it is going to paste that data in calendar.
Simply my case is…
Data fetched -> ( my custom event ) - > Fetched data updated to calendar
Thanks for the reply… But i have checked and tried this.
But i didn’t worked for my case. May be i’m not putting this in right place.
I’ve tried to bind this before scheduler loads the data…
Can u please tell me a little more about it ? i couldn’t find any nice example for this.
Ok Thanks i will see this.
And can you please tell me is there any proper way to achieve that if i want to check that scheduler have finished its previous Data Call to server or not before sending another one?
If you send several requests, unfortunately there is no way to check state of the request. But you can track requests by creating a flag inProgress for it: