While I'm receiving data from an API, I need to populate the array associated to my e-resource at my schedule, but it only works if I do it before this component is mounted. I need to call the method "loadData()" inside "ngOnInit" and dynamically, according to user requests... There are screenshots of my code (html and ts)
After this functions ends, both arrays are filled properly, but the data is not displaying on the schedule.
Please try the above sample, if you have any concerns please revert us back for further assistance.
SESergioJuly 25, 2019 12:37 PM
Few hours ago I could resolve my problem, but thanks for the support anyway!
As I supposed, simply refreshing the scheduler component makes all the data appears on it without problems, so I attached a #mySchedule tag on the schedule html component, and then call the refresh method like this:
I hope this could help somebody else
KKKarthigeyan Krishnamurthi Syncfusion Team July 25, 2019 10:56 PM