show_markers

shows/hides markers on the page

boolean show_markers;

Available only in PRO Edition

Example

var marker1 = gantt.addMarker({ ...}); 
var marker2 = gantt.addMarker({ ...}); 
var marker3 = gantt.addMarker({ ...}); 
 
gantt.config.show_markers = false;// hides all 3 markers


Default value:

true

Related samples

Details

This functionality is available in the PRO edition only.

This option is defined in the ext/dhtmlxgantt_marker.js extension, so you need to include it on the page. Read the details in the Adding Vertical Markers article.

See also
Back to top