Zum Hauptinhalt springen

container_resize_method

Description

Legt fest, ob der Gantt die Größenänderung des Containers in Zeitabständen verfolgen soll

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).

Wenn Sie möchten, dass Gantt die Größenänderung des Containers in Zeitabständen verfolgt, setzen Sie container_resize_method auf "timeout":

gantt.config.container_resize_method = "timeout";

Change log

  • Hinzugefügt 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.