WeekExpander
A Feature which, when present, adds a week row expansion tool to week rows in MonthViews so that a row which contains overflowing cells can be expanded to show all events with no overflow.
Week expander
//<code-header>
fiddle.title = 'Week expander';
//</code-header>
const calendar = new Calendar({
appendTo : targetElement,
mode : 'month',
date : new Date(2026, 9, 12),
tbar : false,
features : {
weekExpander : true
},
crudManager : {
inlineData : {
events : [
{
id : 1,
startDate : new Date(2026, 9, 12),
duration : 2,
name : 'Click expander arrow'
},
{
id : 2,
startDate : new Date(2026, 9, 12),
duration : 2,
name : 'Meeting'
}, {
id : 3,
startDate : new Date(2026, 9, 12),
duration : 2,
name : 'Meeting'
}, {
id : 4,
startDate : new Date(2026, 9, 12),
duration : 2,
name : 'Meeting'
}, {
id : 5,
startDate : new Date(2026, 9, 12),
duration : 2,
name : 'Meeting'
}
]
}
}
});const calendar = new Calendar({
appendTo : 'container',
// Start life looking at this date
date : new Date(2020, 9, 12),
features : {
weekExpander : true
},
// CrudManager arranges loading and syncing of data in JSON form from/to a web service
crudManager : {
transport : {
load : {
url : 'data/data.json'
}
},
autoLoad : true
}
});
*Expanding* a week row using this feature may cause the MonthView to have vertical overflow.
When combined with autoRowHeight, *collapsing* a
week row sets the `autoRowHeight` property to `false`. Detect this state change using the
weekFlex event.
This feature is disabled by default
Configs
9
Configs
9Misc
bubbleEventsEvents
callOnFunctionsEvents
clientInstancePlugin
localeClassLocalizable
localizableLocalizable
localizablePropertiesLocalizable
Other
Properties
16
Properties
16Common
disabledInstancePlugin
Class hierarchy
Identifies an object as an instance of WeekExpander class, or subclass thereof.
Identifies an object as an instance of WeekExpander class, or subclass thereof.
isCalendarFeatureCalendarFeature
isEventsEvents
isInstancePluginInstancePlugin
isLocalizableLocalizable
Other
Functions
28
Functions
28Configuration
Events
detachListenersBase
Misc
animatePropertyBase
callbackBase
doDisableInstancePlugin
downloadTestCaseBase
resolveCallbackBase
updateLocalizationLocalizable
Other
addListenerEvents
hasListenerEvents
onEvents
relayAllEvents
removeAllListenersEvents
removeListenerEvents
resumeEventsEvents
suspendEventsEvents
triggerEvents
unEvents
Events
5
Events
5Event handlers
5
Event handlers
5Typedefs
1
Typedefs
1BryntumListenerConfigEvents