Hi Carla,
We suggest you use dataBound event instead created to get the current view dates by using the flag variable like the below code to meet your requirement.
Sample: https://stackblitz.com/edit/angular-gxsfpc-oobapb?file=app.component.ts
[app.component.html]
<ejs-schedule
#scheduleObj
cssClass="schedule-resource"
width="100%"
height="650px"
[selectedDate]="selectedDate"
[eventSettings]="eventSettings"
(actionComplete)="printDates()"
(dataBound)="bound()"
</ejs-schedule>
[app.component.ts]
public flag: Boolean = true;
bound(): void {
if (this.flag) {
this.flag = false;
console.log(this.scheduleObj.getCurrentViewDates());
}
}
printDates(): void {
if (!this.flag) {
console.log(this.scheduleObj.getCurrentViewDates());
}
}
Regards,
Ruksar Moosa Sait