[code] onToggle({ pressed }) {
if (pressed) {
// Filter that keeps working time ticks in time axis
scheduler.timeAxis.filter(t => scheduler.project.calendar.isWorkingTime(t.startDate, t.endDate));
}
else {
// Restore all ticks
scheduler.timeAxis.clearFilters();
}[/code]
When I invoke the // Restore all ticks, the display of scheduled tasks gets distorted. Is there a way to refresh the display?
Hi, attached is a zip file containing a test case. To run the test case:
1) Place the contents of the zip file where your web server can serve it up
2)Invoke the following URL:
http://yourserver:yourport/yourlocation/FactoryScheduler2/schedulerClient/scheduler/
3) Press the Get Data button
4) Scroll backward in time several days to where you can see the entries in the schedule grid
5) Press the Hide Non-working Time button (non-working time (weekends & 17:00-08:00) gets hidden)
6) Press the Hide Non-working Time button again. Notice how the scheduled entries get shrunken.
Thanks for providing the test case. I was able to run your test case but the data wasn't loading with an error. Can you please check this and also share a clip showing the behaviour and what should be the expected behaviour. Also can you please try this with infiniteScroll being set to false and see if the issue exists for you.