This method destroys the control (removes the content of the placeholder div) and the object (releases the references so it can be garbage-collected).
After calling dispose() the DayPilot.Scheduler object is unusable.
DayPilot.Scheduler.dispose();