EventModel

Represents the data structure of a single event in the scheduler. Contains all relevant event details and supports custom properties via the indexed signature.

Props

The following table outlines the props for the EventModel:

NameTypeDefaultDescription
description
string
-

Additional notes or context for the event that provide supplementary information. Visible in event detail views or custom event templates.

endTime
Date
-

The exact date and time when the event concludes. Determines the event's end point and duration in the scheduler.

id
string | number
-

A unique identifier for the event used for update and delete operations. Can be a string or number depending on your data source.

isAllDay
boolean
-

Marks the event as spanning the entire day rather than a specific time range. All-day events appear in a separate section above timed events.

isBlock
boolean
-

Marks the event as a time block that prevents scheduling other events in the same slot. Commonly used for meetings, maintenance windows, or reserved time periods.

isReadonly
boolean
-

Prevents the event from being edited or deleted by end users. Useful for protecting important or locked events.

location
string
-

The physical location or venue where the event occurs. Displayed alongside the event details for user reference.

startTime
Date
-

The exact date and time when the event begins. Determines the event's position and start point in the scheduler.

subject
string
-

The event title or heading displayed in the scheduler view. Provides a brief summary of the event's purpose.

[key: string]
unknown
-

Allows custom properties beyond the standard event fields for flexible event data modeling.