fires before a single Timeline section was configured, but not rendered yet (the Timeline view only)
mode | string | the timeline mode: 'cell', 'bar' or 'tree' |
section | object | the section object with the 'key' and 'label' properties specified in the 'y_unit' array of the Timeline configuration object (e.g. {key:1, label:"James Smith"}) |
timeline | object | the Timeline configuration object |
object | the section object |
Available only in PRO Edition
scheduler.attachEvent("onBeforeSectionRender", function(mode, section, timeline){
//any custom logic here
return section;
});
The event can be used to customize the timeline sections.
Back to top