Blazor Scheduler Example - Read-only Events
This demo showcases how to make specific events on the Scheduler to be displayed in a read-only mode. The read-only events can be simply viewed and prevented from undergoing any edit actions.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
In this demo, the events that occurred on the past hours from the current time are made as read-only and the CRUD actions have been prevented on it. This has been done by setting true to the IsReadonly field of past events. By doing so, the aria-readonly attribute gets added to the event element and differentiates it from the other normal events.