updateMarker

지정된 마커를 새로 고침합니다

void updateMarker(string | number markerId);
markerIdstring | number마커의 ID

Example

var todayMarker = gantt.addMarker({
    start_date: new Date(),
    css: "today",
    title:date_to_str( new Date())
});
gantt.getMarker(todayMarker).css = "today_new";
gantt.updateMarker(todayMarker);

Related samples

Details

이 메서드는 marker 확장에 속하므로, marker 플러그인이 활성화되어 있는지 확인하세요. 자세한 내용은 수직 마커 추가하기 문서를 참조하십시오.

See also
Back to top