when i reload the scheduler the old event that has been cancelled is still there.
if i use scheduler.clearAll(); then onEventCancel does not work.
If you are using scheduler.load - it will add|update data but not remove old one. So if you want to fully reload scheduelr’s data - you need to call clearAll before load.
then onEventCancel does not work.
Not quite sure what do you mean, please provide details if problem is still actual.