container_resize_method

defines whether the gantt should track resizing of the container at time intervals

string container_resize_method;

Values

  • "timeout"
  • Example

    gantt.config.container_resize_method = "timeout";

    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";
    See also
    Change log

    Added in v7.1

    Back to top