Skip to main content

all_timed

Description

'says' to show multi-day events in the regular way (as one-day events are displayed)

all_timed: boolean | string

Default value: 'short'

Applicable views: Day view, Week view, Units view

Details

note

The property requires the all_timed plugin to be activated.

As a string the parameter can take the only value - 'short'.


So, there are 3 possible values that the parameter can take:

  • 'short' - to show only multi-day events that last less than 24 hours (starts one day and ends another) in the regular way
  • true - to show all multi-day events in the regular way
  • false - to show all multi-day events as lines in the upper part of the scheduler (the standard display mode for multi-day events)

To provide better control over which events are displayed in the multi-day section and which are displayed in the day columns, redefine the isMainAreaEvent method of the module in the following way:

const { isMainAreaEvent } = scheduler.ext.allTimed;
scheduler.ext.allTimed.isMainAreaEvent = function(event) {
if(event.multidaySection){
return false;
}else{
return isMainAreaEvent(event);
}
};

Change log

  • The plugin is activated by default starting from v7.2
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.