Hi all and thanks for the amazing library. We are using SchedulerPro v4.3.9.
In our business we have the need to display days that start with an offset from a regular day. We have achieved to generate the bottom header ticks as we need via the 'generateTicks' callback (e.g. offset the tick 2 hours from a regular day) but we also need to align the top header tick.
Essentially we need to display that the day starts from the offset given.
Is there a similar way to do this as we did for the bottom ticks?
Another approach we thought is to display this through header renderers but this way we would have to also adjust schedule tooltips etc. (much more effort)
Any info on this would be appreciated.
Thanks a lot!
Exactly, I need the 0am and 1am to be considered as ticks of the previous day and the day (top header tick) to start from 2am. I checked the timeaxis examples but I wasn't able to achieve this. I generate the ticks as expected but I can't handle in which top header tick they will be under.
Is there sth I miss from the example ? Thanks again
Hi and thanks for the quick replies!
Unfortunately no, what I am looking for is
| Tue 2/10/19_________________________________________________________________________|
|-------------------------------------------------------------------------------------------------------------|
|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|1|
Last edited by pennyp on Thu Jun 30, 2022 3:51 pm, edited 1 time in total.
Tansim, the code snippet above just displays the 0am as 24 and 'generateTicks' does not really add sth!
What I need is to shift the start of a day to another hour. Please check the screenshot and the example I have posted.
Think of it similar to start of the week. If first day of the week was Tuesday and I had a unit-increment= 1-week the header row would generate ticks like:
|Tue. 28/06/2022|Tue 05/07/2022 |
right?
So, If I have start of day at 2 am, I need a relevant iteration on the headers generated.
unit = 'day', increment = 1
|2 am___1am|2am_1am|2am__1am,|
Though I can successfully generate the ticks of the bottom header, I need to align the start of a day! (screenshot on initial post)