show_grid

shows the grid area of the Gantt chart

boolean show_grid;

Example

//hides the grid area of the Gantt chart
gantt.config.show_grid = false;
gantt.init("gantt_here");


Default value:

true (the grid is visible)
Details

gantt.config.show_grid = false is useful when you need to hide the grid area of the Gantt chart quickly while gantt.config.show_chart = false serves to hide the timeline area. If you work in a simple layout, you'd better not use these two options together as it may cause an unexpected result. Instead of it, you should change the configuration of the layout via gantt.config.layout.

See also
Back to top