DayPilot.Scheduler.dispose

The dispose() method destroys the JavaScript Scheduler component. It removes the content of the placeholder <div>, unbinds the DOM events and the cleans up the DayPilot.Scheduler object so it can be garbage-collected.

After calling dispose() the DayPilot.Scheduler object becomes unusable.

Declaration

DayPilot.Scheduler.dispose();