Our state of the art Gantt chart


Post by Jerther »

Hi! :D

v5.0.4

Here are the steps to replicate:

  • Load the demo: https://bryntum.com/examples/gantt/highlight-time-spans/
  • in the console, manually add a timespan:
    gantt.highlightTimeSpan({
        taskRecord: gantt.project.taskStore.getById(1),
        name      : 'hello!',
        startDate : new Date(2019, 01, 01),
        endDate   : new Date(2019, 01, 06)
    })
    
  • unhighlight timespans with fadeOut:
    gantt.unhighlightTimeSpans(true);
    
  • Re-add the same timespan with the same command
  • :!: The timespan is not added!
  • For it to work again, I have to disable the feature and enable it back:
    gantt.features.timeSpanHighlight.disabled = true;
    gantt.features.timeSpanHighlight.disabled = false;
    
  • Then highlightTimeSpan() works again.

The problem occurs only when the fadeOut flag of unhighlightTimeSpans() is true.


Post by mats »

Reproduced, thanks for reporting! https://github.com/bryntum/support/issues/4598


Post Reply