marker_class

specifies the CSS class that will be applied to markers

markerobjectthe marker's configuration object

Example

var showAdvancedMarkers;
gantt.templates.marker_class = function(marker){
    if (showAdvancedMarkers) {
        return "advanced_marker";
    }
    return "hidden";
}

See also
Back to top