render

renders the whole Gantt chart

void render();

Example

gantt.config.scales = [
    {unit: "month", step: 1, format: "%F, %Y"},
    {unit: "day", step: 1, format: "%j, %D"}
];
gantt.init("gantt_here");
 
gantt.config.scales = [
    {unit: "day", step: 1, format: "%j, %D"}
];
gantt.render();

Related samples

Details

You can use the batchUpdate method to update multiple tasks/links at once with a single re-rendering instead of making multiple updates with multiple re-renderings.

See also
Back to top