Show cool things you have done with our products


Post by nickolay »

Hello,

Not sure what you are trying to achieve. You can not "extract the html" of the gantt. You can only render it inside of some other existing dom element.

Post by harshads »

Hi,

I don't want to extract any HTML now. All I need is a Javascript object which represents the Bryntum gantt. What is the API which will get me that object? Is this that API this.gantt = this.createGantt();

I will simply pass this variable to the draw API which will show the gantt in the widget.

Post by mats »

Hm, this sounds very weird. Our components work like this:

1. Put a DIV on the page with some 'id'
2. Configure the Gantt with 'renderTo : "YOUR DIV ID"'.

That's it!

Post Reply