SchedulerCellProps
Represents a single scheduler cell for custom rendering in day, week, or month views. Provides context about the cell's date and type to enable conditional rendering logic and styling. Enables developers to implement custom cell templates with awareness of view type and time range.
Props
The following table outlines the props for the SchedulerCellProps:
| Name | Type | Default | Description |
|---|---|---|---|
| date | Date | - | The start date and time of the scheduler cell, determining its position in the view. Used for cell positioning, event assignment, and custom rendering logic. |
| groupIndex | number | - | Index of the resource group the cell belongs to when resource grouping is enabled. Provided by Timeline year view only. |
| type | string | - | Identifies the cell type for conditional rendering and styling logic. Values: 'monthCell' for month view or 'workCell' for time-slot cells in day/week views. In Timeline year view: 'timelineYearDayCell' for a day cell, or 'workCell' for a month cell of the grouped layout. |