Hi Akash,
Greetings from Syncfusion Support.
We let you know that you have added the data to the local variable
'this.dataSource' instead of eventSettings of dataSource. So the data is not
loaded to the Scheduler.
https://stackblitz.com/edit/angular-kvf4k6?file=app.component.ts
Code snippet:
onButtonClick() {
this.data =
extend([], zooEventsData, null, true) as Record<string, any>[];
this.scheduleObj.eventSettings.dataSource
= this.data;
this.addButton.element.setAttribute('disabled', 'true');
}
|
Kindly try the above solution and let us know if this resolves your problem.
Regards,
Balasubramanian S