Hello team Bryntum,
Please your help,
I use example template advanced-gantt pro 5.1.14
I need Advanced-Gantt inside in div
I have read the forum, but I need to know exactly in what file I should update
renderTo: "mydiv"
I have added this code in different files but the gantt is seen in full screen, maybe there is another way, could you tell me what is the correct file that I should modify?
attachment image of my js
thanks.
Support Forum
We have rendertodiv demo. You're right about `renderTo`, but you also need to create the gantt explicitly. For that you need to remove 'advanced-gantt' from the child items of 'advanced-viewport' and create instance of your gantt manually, like
Ext.onReady(function() {
Ext.create('Gantt', {
renderTo : 'gantt-container'
});
});
Pavlo Miklashevych
Sr. Frontend Developer