Destroying Scheduler, or preventing re initialization.

Quick question,

I have a scheduler being loaded with AJAX. If the user clicks to reload the scheduler, is there any way to destroy it completely and then reload it (not just clearing the data with clearAll())? Or is there a way to just prevent the scheduler from being reinitialized?


please clarify how do you load the scheduler and what exactly should happen when you reload scheduler. Right now it’s not clear what do you have on your page constantly and what is loaded with ajax.
Scheduler do not have a destructor. If you need to refresh the data, clearAll() and load(…) should do the job. If you reload scheduler to change it’s configuration, you may simply calling scheduler.setCurrentView() to redraw it.