container_resize_method
Description
Defines whether the gantt should track resizing of the container at time intervals
container_resize_method: string | undefined
Example
gantt.config.container_resize_method = "timeout";
Default value: undefined
Details
By default, Gantt listens to the "resize" event for the window and for the iframe element placed inside the gantt. Sometimes these events can't be fired (for example, in Salesforce).
If you need Gantt to track resizing of the container at time intervals, set container_resize_method to "timeout":
gantt.config.container_resize_method = "timeout";
Related API
Change log
- Added in v7.1
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.