Hi Michal,
Greetings from Syncfusion Support.
We have validated your reported scenario at our end and let you know that you have added the data to the local variable instead of the scheduler dataSource. So that, the appointments are not added when clicking the button. Now we have modified the sample based on that and which can be available from the below link.
|
@Input("terms")
set reservationTemplates(terms: any[]) {
if (terms) {
console.log("loading data: " + terms.length);
terms.forEach(term => console.log("loaded: " + term.Subject + ", starting "+ term.StartTime));
this.scheduleObj.eventSettings.dataSource = terms;
}
} |
Kindly refer to the above solution and let us know if you need further assistance.
Regards,
Balasubramanian S