Our powerful JS Calendar component


Post by Animal »

Looks like ResourceView, not DayResourceView does not pass visibleStartTime down to its child views.

ResourceView owns and manages multiple sub views, one for each resource. It passes down many configs from itself into the child views, such as weekStartDay. visibleStartTime is omitted. I can add it.

You can configure the view property of ResourceView

{
    type : 'resourceview',
    view : {
        visibleStartTime : 6
    }
}

Post by peter@tjecco.com »

Hi,
When I remove selected resources in your filter, it does not work anymore and that's exactly my problem :/ It needs to work when the resource is not yet selected.


Post by peter@tjecco.com »

Where exactly I need to add this in my code??:

{
    type : 'resourceview',
    view : {
        visibleStartTime : 6
    }
}

Inside the modes or modeDefaults?


Post by Animal »

peter@tjecco.com wrote: Wed Dec 20, 2023 2:21 pm

Hi,
When I remove selected resources in your filter, it does not work anymore and that's exactly my problem :/ It needs to work when the resource is not yet selected.

What does this mean?


Post by Animal »

So here's that example with no resourceFilter Combo: https://codepen.io/Animal-Nige/pen/YzgKaGV?editors=0010

This is causing a lot of pain. Why not just use the resourceFilter provided in the sidebar?


Post Reply