DateRangeProps

Represents the date range context for custom header rendering in the scheduler. Provides start date, end date, and view information to enable context-aware date range displays. Enables developers to create custom date range representations or localized date formatting strategies.

Props

The following table outlines the props for the DateRangeProps:

NameTypeDefaultDescription
endDate
Date
-

The end date of the currently visible date range in the scheduler. Indicates the end of the period displayed by the active view.

startDate
Date
-

The start date of the currently visible date range in the scheduler. Indicates the beginning of the period displayed by the active view.

view
string
-

The name of the currently active view type ('Day', 'Week', 'WorkWeek', 'Month', or custom). Indicates which view is displaying the date range.