Example of Observable Collection in Blazor Scheduler Component
This sample demonstrates the usage of Observable data binding in the Scheduler component. A new event will be added when you click on the Add Data button and the subject of the first event will be updated when you click on the Update Data. When you click on the Delete Data button, the first event will be deleted.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Using Observable Collections, event data can be added, removed, or updated with automatic notification of actions. The UI will be automatically updated when an event data is added to or removed from an observable collection. To refresh the UI for a single property update, the setter of the corresponding property must be configured as shown in the sample.