onBeforeSectionRender

단일 Timeline 섹션이 설정되기 직전, 아직 렌더링되지 않은 상태에서 트리거됩니다 (Timeline 뷰에만 적용됨)

object onBeforeSectionRender(string mode,object section,object timeline);
modestringTimeline 모드: 'cell', 'bar', 또는 'tree'
sectionobjectTimeline 설정의 'y_unit' 배열에 정의된 'key'와 'label' 속성을 포함하는 섹션 객체 (예: {key:1, label:"James Smith"})
timelineobjectTimeline 설정 객체
object섹션 객체

Available only in PRO Edition

Example

scheduler.attachEvent("onBeforeSectionRender", function(mode, section, timeline){
    //여기에 커스텀 로직을 추가할 수 있습니다
    return section;
});

Details

이 이벤트를 통해 Timeline 섹션이 렌더링되기 전에 커스터마이징할 수 있습니다.

맨 위로