Hello we have a gantt chat inside a div in a page,
it’s possible to have a js button to expand the same gantt to full screen?
What js I must use?
thanks
Hello we have a gantt chat inside a div in a page,
it’s possible to have a js button to expand the same gantt to full screen?
What js I must use?
thanks
Hi,
you can resize the container and repaint gantt dinamically. Add class or set styles with ‘position:absolute’ or ‘position:fixed’ and 100% witdth and height:var container = document.getElementById("gantt_here");
container.style.position = "fixed";
container.style.top = "0";
container.style.height = "100%";
container.style.width = "100%";
gantt.render();
And set styles back to normal when fullscreen no longer needed (‘position:fixed’, normal height/width)