Skip to main content

TIMELINE_cell_class

info

This functionality is available in the PRO edition only.

Description

Specifies the CSS class that will be applied to a cell of the view

TIMELINE_cell_class: (evs: array, date: Date, section: object) => string;

Parameters

  • evs - (required) array - an array of objects of events contained in a cell (defined only in the 'cell' mode)
  • date - (required) Date - the date of a column
  • section - (required) object - the section object

Returns

  • css_class - (string) - css class for related element

Example

scheduler.templates.timeline_cell_class = function(evs, date, section){
return "";
};

Applicable views: Timeline view

Details

note

The template requires the timeline plugin to be activated.

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.