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