Hi,
In my application I change gantt chart dynamically when user changes page size. Everything is changing size as expected accept vertical scroll. It’s not changing it size and cause issues on the page.
More details on the screen:
Hello Wolland,
Unfortunately, I couldn’t reproduce the issue in the following snippet:
http://snippet.dhtmlx.com/5/f99fd599e
The issue can be related to Gantt configuration or it happens because of something else. But it is hard to suggest what might be wrong as I don’t see your code.
Please, reproduce the issue in the snippet, then click on the “Share” button and send me the link:
https://snippet.dhtmlx.com/38ee1b370
Or send me a ready demo with all the necessary Javascript and CSS files so that I can reproduce the issue locally.
Hello,
I try to reproduce it, but it works fine in snippet.
You example is not correct, you need to subscribe to window resize event and set gantt size to fix new window size. Also it happens only when you resize window with “Restore down” button.
Hello Wolland,
It is not necessary to subscribe to the window event. Starting from the 6.0 version, Gantt listens to the browser window resize event and its container resize and repaints itself:
https://docs.dhtmlx.com/gantt/whatsnew.html#x4632x60x4633x
If you use Salesforce, it works in a different way, it was fixed in the 6.1.2 version:
https://docs.dhtmlx.com/gantt/whatsnew.html#612
However, Gantt works correctly in both implementations.
You can send me an HTML file with all the necessary files or a ready demo so that I can reproduce the issue locally.
Hi,
ok I will try to create real example to reproduce it