TIMELINE_row_class
Info
Dieses Feature ist nur in der PRO Edition verfügbar.
Description
Definiert die CSS-Klasse, die einer Zeile in der Timeline-Ansicht zugewiesen wird
TIMELINE_row_class: (section: object, timeline: object) => string;
Parameters
section- (required) object - das Section-Objekttimeline- (required) object - das Timeline-Objekt
Returns
css_class- (string) - CSS-Klasse für das entsprechende Element
Example
scheduler.templates.timeline_row_class = function(section, timeline){
return "";
};
Applicable views: Timeline view
Details
Hinweis
Diese Vorlage erfordert, dass das timeline Plugin aktiviert ist.
Die Standard-Implementierung der Vorlage sieht wie folgt aus:
scheduler.templates.TIMELINE_row_class = function(section, timeline){
if(timeline.folder_events_available && section.children){
return "folder";
}
return "";
};
Related API
Related Guides
Change log
- hinzugefügt 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.