I was not able to find any info on this: I am using Scheduler in Unit view only. I want to allow full-day and multi-day events. But I don’t want to use the multi-day bar at the top. I want the event to show as a normal event and just fill the entire day. Is this easily achievable?
If you will set event as starting from 0:00 and ending at 23:59 of the same day - it will be shown as a normal event.
Event which starts in one day and ends in another one - will not render “as normal event” in any case.
If you want to alter logic - you can try to redefine scheduler.is_one_day_event event method, which receives event object and returns how it must be rendered ( true - for normal events )
We are in a similar situation. We use the scheduler timeline view to use this as a roster to schedule employees, and we show 1 week at a time (7 days). Now if a ‘shift’ (event) ends after 23:59 it shows on the next day as well. Technically this is correct, but it is confusing for our users because they still see it as a shift from the startday.
Can you give me more information on how to redefine that is_one_day_event event? Any help in the right direction is very much appreciated.
I’m not quite sure, how do you want it to look in the timeline view.
Currently, in timeline view all events rendered in the same way ( timed and multi-day )
If you want to show events in the different way - please share some sketch.
The ‘good’ sample has an endtime of 17h so is only shown on the Wed column. The ‘bad’ sample has an endtime of ‘01:00’. Therefore it is also shown on Thursday. From a calendar point of view this is correct behaviour, but as I explained in my original post this does result in confusion for our users. Because its still considered a shift for wednesday. So what we need is that no matter what endtime the user enters, its only drawn on Wednesday column in scheduler.
There is no way to change the logic of timeline view in the such way.
If you show this data only in readonly mode, you can add a logic that will change dates to fake ones, that is necessary in your case. Text with real time can be taken from separate properties.
It turns out we need this functionality but are not in read-only mode. Can you contact me through PM to discuss a solution for this as a paid customisation?
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan