t ganttState, ganttInstance;

      // listen to 'gantt-elastic.ready' or 'gantt-elastic.mounted' event
      // to get the gantt state for real time modification
      app.$on('gantt-elastic-ready', ganttElasticInstance => {
        ganttInstance = ganttElasticInstance;

        ganttInstance.$on('tasks-changed', tasks => {
          app.tasks = tasks;
        });
        ganttInstance.$on('options-changed', options => {
          app.options = options;
        });
        ganttInstance.$on('dynamic-style-