Hi, we have a problem handling workdays. We delegate all the logic about workdays in dateIsWorkday function because we need to handle holidays and different availability times depending on the date (different season timetable).
We see that if we set a workdayStart, the viewport is moved to that row, that is ok. The problem is our "workdayStart" is different depending on the day (delegated in dateIsWorkday function).
We would need one of the following solutions (in preference order):
1) The viewport is moved to a time based on dateIsWorkday (the first available hour)
2) A new function "scrollToTime", with action similar to "scrollToWorkday" boolean, but with the capability to pass a fixed time
P.S: Currently we have
showWorkday: true,
workdayStart: '00:00',
workdayEnd: '23:59'
We don't want to change workdayStart because if we do that, we have with no-workday style all cells from 00:00 to the fixed set date, and we don't want this (again, we delegate in dateIsWorkday)
Thanks and regards
We see that if we set a workdayStart, the viewport is moved to that row, that is ok. The problem is our "workdayStart" is different depending on the day (delegated in dateIsWorkday function).
We would need one of the following solutions (in preference order):
1) The viewport is moved to a time based on dateIsWorkday (the first available hour)
2) A new function "scrollToTime", with action similar to "scrollToWorkday" boolean, but with the capability to pass a fixed time
P.S: Currently we have
showWorkday: true,
workdayStart: '00:00',
workdayEnd: '23:59'
We don't want to change workdayStart because if we do that, we have with no-workday style all cells from 00:00 to the fixed set date, and we don't want this (again, we delegate in dateIsWorkday)
Thanks and regards
Comment