지정된 마커를 새로 고침합니다
markerId | string | number | 마커의 ID |
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);
이 메서드는 marker 확장에 속하므로, marker 플러그인이 활성화되어 있는지 확인하세요. 자세한 내용은 수직 마커 추가하기 문서를 참조하십시오.