- 
                Notifications
    
You must be signed in to change notification settings  - Fork 4
 
Closed
Labels
bugSomething isn't workingSomething isn't workingforumIssues from forumIssues from forumresolvedFixed but not yet released (available in the nightly builds)Fixed but not yet released (available in the nightly builds)
Milestone
Description
Hi!
Here's how to reproduce:
v5.0.3
- Load the https://bryntum.com/examples/gantt/highlight-time-spans/ example
 - Activate the "Highlight Timespans" button.
 - In the console, write gantt.features.timeSpanHighlight.disabled = true
 - The timespans disappear from the view
 - Now copy the highlightTimespans call from the code into the console:
 
gantt.highlightTimeSpans([
                {
                    name      : 'Beta',
surround: false,
taskRecord: gantt.tasks[0],
                    startDate : new Date(2019, 1, 17),
                    endDate   : new Date(2019, 2, 3)
                },
                {
                    name      : 'Go live',
                    startDate : new Date(2019, 2, 17),
                    endDate   : new Date(2019, 2, 31)
                }
            ]);
- the timespans appear in the view
 - gantt.features.timeSpanHighlight.disabled is still true
 
I'd expect the timespans not to appear, i.e. highlightTimeSpans() to do nothing
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingforumIssues from forumIssues from forumresolvedFixed but not yet released (available in the nightly builds)Fixed but not yet released (available in the nightly builds)