Thank you for your reply.
However, this does not work as expected.
My situation is as follows: I have disabled the scheduler header as I have to handle the view type change in custom header.
In this case I am trying to set the currentView to a value that differentiates between Day and 3Days.
I first tried to use the binding for currentView but this does not work as it accepts only 'Day', 'Week', etc but nothing custom for ThreeDays.
Then I tried using the following method, by passing 0 or 1 as index but no luck either. When I set viewIndex 1 it returns with viewIndex 0 after render and nothing changes.
this.scheduler.changeView('Day', null, null, 0);
this.scheduler.changeView('Day', null, null, 1);
I have also looked in SF code and it looks that Schedule.setViewOptions resets the viewIndex.
My views are defined as follows:
<e-view option="Day" displayName="Day" [group]="grouping">
<e-view option="Day" displayName="ThreeDays" interval="3">
<e-view option="Week" displayName="Week"></e-view>
<e-view option="Agenda" displayName="Agenda" [allowVirtualScrolling]="true"></e-view>
Please let me know if you have any ideas how I could proceed further.
I am currently evaluation the Scheduler by comparison with other solutions on the market and by EOW we need to take a decision.