I am looking to change the view of the daypilot chart when an event is triggered. Initially the Scheduler instance is used, but when the event is triggered I want to change this instance into Calendar instance. I am not being able to achieve this by simply changing the value of the variable by creating a new instance. So my question is how can i achieve two or multiple separate Daypilot instances at the click of a button??