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

Adjusting the event starting position in the scheduler

Asked by Scott Mitchell
8 years ago.

I have the scheduler displaying a single day with times broken into 15 minute increments across the top. Everything works swimmingly if all of my events start and end on these 15 minute boundaries, but if an event starts at, say, 4:05 PM or ends at 4:50 PM, the event is displayed as if it started at 4:00 PM or as if it ended at 5:00 PM.

For example, see the attached screenshot. This is an event is an hour long that actually starts at 6:05 PM and ends at 7:05 PM, but looking at the scheduler you'd think it started at 6 and went to 7:15.

What I would hope to see is an hour long length event bar, but to have it offset a bit so there was a little whitespace between 6:00 and the start of the event, and it would end that same amount to the right of the 7:00 boundary.

Does that make sense? Is this shifting possible?


Answer posted by Dan Letecky [DayPilot]
8 years ago.

You can configure this behavior using UseEventBoxes property.

UseEventBoxes = UseEventBoxesType.Never will do exactly what you need.

Comment posted by Scott Mitchell
8 years ago.

Thank you Dan, this works perfectly!

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