search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How do you insert multiple different Gantt Charts in your website?

Asked by Anonymous
5 years ago.

How do you insert multiple different Gantt Charts in your website? With different data for each chart.

Answer posted by Dan Letecky [DayPilot]
5 years ago.

Just use two placeholder divs and create a DayPilot.Gantt instance for each of them:

<div id="gantt1"></div>
<div id="gantt2"></div>

<script>
var gantt1 = new DayPilot.Gantt("gantt1");
// config ....
gantt1.init();

var gantt2 = new DayPilot.Gantt("gantt2");
// config ...
gantt2.init();
</script>
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.