Skip to main content

TIMELINE_row_class

info

This functionality is available in the PRO edition only.

Description

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

TIMELINE_row_class: (section: object, timeline: object) => string;

Parameters

  • section - (required) object - the section object
  • timeline - (required) object - the timeline object

Returns

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

Example

scheduler.templates.timeline_row_class = function(section, timeline){
return "";
};

Applicable views: Timeline view

Details

note

The template requires the timeline plugin to be activated.

The default value of the template is:

scheduler.templates.TIMELINE_row_class = function(section, timeline){
if(timeline.folder_events_available && section.children){
return "folder";
}
return "";
};

Change log

  • added in v5.3.9
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.