all_timed

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

boolean| string all_timed;

Default value:

'short'
Applicable views:Day View, Week View, Units View

Related samples

Details

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

Back to top