updateMarker
Description
刷新指定的 marker
updateMarker: (markerId: string | number) => void
Parameters
markerId- (required) string | number - marker 的 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); /*!*/