v7.3.0

WeekExpander
Feature

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.

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

See also

  • MonthView — The view where week row expansion operates
  • autoRowHeight — Related config for automatic row sizing
No results

Properties

Properties are getters/setters or publicly accessible variables on this class
id: weekExpander

Source path

Calendar/feature/WeekExpander.js

Contents