search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Scheduler - Is it possible to show whole days, although cell duration is half-day

Asked by Anonymous
1 year ago.
I'm using the following configuration to set the grid cell size to half-day
scale: 'CellDuration',
cellDuration: 720,

Nevertheless I want to hide the line between the two halfs of a day. See please the attached image. Is this possible?

Answer posted by Dan Letecky [DayPilot]
1 year ago.

You can use onBeforeGridLineRender to hide selected grid lines in the Scheduler:

You can also use a different approach - set scale to "Day" and implement custom snap-to-gird rules:

Comment posted by Anonymous
1 year ago.

If I set the scale to "Day", then I'm not able to show half-day events. Is this the normal behaviour or am I doing something wronge?

Comment posted by Dan Letecky [DayPilot]
1 year ago.

By default, events are aligned with the grid cells. You can customize this behavior using "useEventBoxes" property:

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.