Our pure JavaScript Scheduler component


Post by Highnoon »

Hi,

i am looking for a way to give a time profile to each resource. The working time for each person should be displayed like the 'shade weekends' with nonWorkingTime: true.
So it should be possible to give the profile 'From 9 to 5' to someone or a profile for early birds, party people ...
I know the workingTime config, but this is one profile for all resources. It should be something similar to TimeRanges but not for a special day. It should be repeated for each day like nonWorkingTime.

Maybe its already existing and i could'nt find it. Otherwise it could be a feature request.

Thanks

Post by mats »

Have you seen https://bryntum.com/examples/scheduler/resourcetimeranges/ ? Is this what you are looking for?

Post by Highnoon »

Hi mats,

yes in your example it is like this:
 resourceTimeRanges = [
        { id : 1, resourceId : 'r1', startDate : '2019-01-01T11:00', endDate : '2019-01-01T13:00', name : 'Lunch' }, 
        ...
For each day one record.

Im expecting something like this:
 resourceTimeProfiles = [
        { id : 1, resourceId : 'r1', fromHour : '9', toHour : '17', name : '9 to 5' },
        { id : 2, resourceId : 'r2', fromHour : '7', toHour : '15', name : 'Early Bird' },
        { id : 3, resourceId : 'r3', fromHour : '10:30', toHour : '22', name : 'Party' }
         ...
So one profile per resource repeating each day. If doing this with resourceTimeRanges it will result in a huge amout of nearly sensless data.

Hope this makes it clear.

Post by mats »

Ok you can achieve this using resource calendars in the upcoming Scheduler Pro product being announced later in April.

Post by aswpacc »

Is this already available in the new release (3.1.2)?
I am looking forward to implement something like this and for a big data set.

Post by mats »

No it's a separate Scheduler Pro product, coming soon!

Post Reply