static_background
This functionality is available in the PRO edition only.
Description
Generates a background image for the timeline area instead of rendering actual columns' and rows' lines
static_background: boolean
Example
gantt.config.static_background = true;
gantt.init("gantt_here");
Default value: false
Related samples
Details
Since v6.2 this config renders PNG background AND any cells that have CSS class attached to them via the timeline_cell_class template function.
If you need to revert to v6.1 behavior (that is to render just the background image), use the static_background_cells config:
gantt.config.static_background_cells = false;
The highlighted cells are rendered only when the show_task_cells config is enabled (default).
Starting from v6.3, smart rendering renders only the cells in the visible part of the timeline, so the effect of this config on rendering speed is smaller than in earlier versions. The config also decreases the size of the request to the export server when you export data.