TimeProfile for each resource

Our pure JavaScript Scheduler component


Post Reply
User avatar
Highnoon
Premium Member
Premium Member
Posts: 62
Joined: Mon Jan 21, 2019 1:04 pm

TimeProfile for each resource

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

User avatar
mats
Core Developer
Core Developer
Posts: 15914
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: TimeProfile for each resource

Post by mats »

Have you seen https://bryntum.com/examples/scheduler/resourcetimeranges/ ? Is this what you are looking for?
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
Highnoon
Premium Member
Premium Member
Posts: 62
Joined: Mon Jan 21, 2019 1:04 pm

Re: TimeProfile for each resource

Post by Highnoon »

Hi mats,

yes in your example it is like this:

Code: Select all

 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:

Code: Select all

 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.

User avatar
mats
Core Developer
Core Developer
Posts: 15914
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: TimeProfile for each resource

Post by mats »

Ok you can achieve this using resource calendars in the upcoming Scheduler Pro product being announced later in April.
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
aswpacc
Posts: 1
Joined: Fri Apr 17, 2020 10:14 am

Re: TimeProfile for each resource

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.

User avatar
mats
Core Developer
Core Developer
Posts: 15914
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: TimeProfile for each resource

Post by mats »

No it's a separate Scheduler Pro product, coming soon!
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

Post Reply