Scheduler not updating with Observable collection

trying to use an observable collection with the scheduler but the scheduler does not update until you switch dates

tried the code from the doc under Data Binding - Binding Observable Collection

th



4 Replies

MS Michael Salzlechner February 11, 2022 01:47 PM UTC

found that calling sched.RefreshEventsAsync() on the scheduler seems to work


is this the intended way for this to work?




VM Vengatesh Maniraj Syncfusion Team February 14, 2022 03:50 AM UTC

Yes. The RefreshEventsAsync will help you to render the events on the Scheduler. Please refer the below for more details.




MS Michael Salzlechner February 14, 2022 05:36 AM UTC

you may want to update the code example under data binding. it isnt calling RefreshEventsAsync and in turn isnt updating the scheduler properly



VM Vengatesh Maniraj Syncfusion Team February 15, 2022 08:37 AM UTC

Sorry for the inconvenience.

Kindly check the attached code snippet which is working properly. 



Attachment: Index_79047359.zip

Loader.
Up arrow icon