Skip to main content

render

Description

Renders the whole Gantt chart

render: () => void

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();

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.