You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gantt.highlightTimeSpan({
taskRecord: gantt.project.taskStore.getById(1),
name : 'hello!',
startDate : new Date(2019, 01, 01),
endDate : new Date(2019, 01, 06)
})
Crash!
Expected:
I'd expect highlightTimeSpan() to do nothing
If it did nothing and I then I had the task shown by changing the filter, I'd expect the highlighted timespan to be visible again.
Also, if you highlight a task timespan and THEN apply a filter so that task moves around, the timespan does not follow its task.
The text was updated successfully, but these errors were encountered:
matsbryntse
changed the title
highlightTimeSpan function throwing error
highlightTimeSpan function throwing error when taskStore is filtered
May 11, 2022
Forum post
Hello!
Here's how to reproduce:
Load the demo: https://bryntum.com/examples/gantt/highlight-time-spans/
In the console, apply a filter:
Then create a highlight for a task:
Crash!
Expected:
I'd expect highlightTimeSpan() to do nothing
If it did nothing and I then I had the task shown by changing the filter, I'd expect the highlighted timespan to be visible again.
Also, if you highlight a task timespan and THEN apply a filter so that task moves around, the timespan does not follow its task.
The text was updated successfully, but these errors were encountered: