I have resource time ranges for resources that are filtered out (hidden) initially. When the resource row is revealed by updating the filter function - the resource time range is not shown.
How to show the time ranges for the revealed resource?
Support Forum
Hi,
Thank you for your report. We'll investigate it. Here is the ticket to track progress https://github.com/bryntum/support/issues/8852
Best of luck ,
Tasnim
I could not reproduce it with the demo tool on your site, but it's reproducible in my app.
And I've found a root cause. It's because the resource time ranges are added for filtered (hidden) resources at that time. When I moved the filter after adding resource time ranges - the time ranges were preserved as expected.
The only issue that remains - is that after time ranges are added with resourceTimeRangeStore.add, a short delay is required before resourceStore.filter is triggered. Is there a natural way to wait for resourceTimeRangeStore to add the records and then trigger the filter method?