New to KendoReact? Start a free 30-day trial
Adaptive Slot Height
Adaptive Slot HeightPremium
By default the KendoReact SchedulerViewSlot component adapts itself to fit all items inside it.
You can further set the minimum height of a slot through the minHeight of the style property, or configure the maximum number of items in a MonthView through the itemsPerSlot.
The following example demonstrates the above properties in action:
Change Theme
Theme
Loading ...
Constant Slot Height
In order to disable the adaptive slot height and provide a constant height for the slots, set the following properties to the SchedulerViewSlot:
style.height—In order to set the height of a single slot, andexpandable={false}—In order to disable the auto-expansion when more items fit in the slot.
The slots have
minHeightof75pxby default.
The following example demonstrates disabling the adaptive slot height:
Change Theme
Theme
Loading ...