Cancel loading if some condition is true ?

Hello,

I would like to cancel the loading of events if some condition appears tu be true.

The loading is configured like below :

scheduler.init(‘scheduler_here’,new Date(),“week”);
scheduler.setLoadMode(“day”);
scheduler.load("/connector/rdvs.php",“json”);

I thought it would be possible on the onXLS event by returning false, but the events still loads.

Any idea how to do this ?

There is no way to block data loading through events
If necessary you can call scheduler.setLoadMode(false) to stop any further dynamic loading requests.