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
Support Forum
Have you seen https://bryntum.com/examples/scheduler/resourcetimeranges/ ? Is this what you are looking for?
Hi mats,
yes in your example it is like this:
For each day one record.
Im expecting something like this:
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.
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' },
...
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' }
...
Hope this makes it clear.