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

Events incorrectly overlapping in Scheduler

Asked by kekec14
7 days ago.

Hello!

I tried latest sanbox build - 2025.3.736, but problem still perist. It shows like events are overlaping, but they are not:

my dataset:

"resources": [
    {
        "name": "Resource 1",
        "id": "R1"
    },
    {
        "name": "Resource 2",
        "id": "R2"
    },
    {
        "name": "Resource 3",
        "id": "R3"
    },
],
"events": [
    {
        "id": 1,
        "resource": "R1",
        "start": "2025-10-01T21:30:40",
        "end": "2025-10-02T06:00:36",
        "text": "Event 1",
    },
    {
        "id": 2,
        "resource": "R1",
        "start": "2025-10-01T21:28:45",
        "end": "2025-10-01T21:30:34",
        "text": "Event 2",
    },
]
"startDate": "2025-10-01",
"useEventBoxes": "Never",
"scale": "Day",
"timeHeaders": [
    {
        "groupBy": "Month"
    },
    {
        "groupBy": "Week"
    },
    {
        "groupBy": "Day",
        "format": "d"
    },
]
Answer posted by Dan Letecky [DayPilot]
7 days ago.

In this particular case, it is by design:

  1. The overlaps are resolved on pixel level, not on time level. That is necessary for proper display.

  2. The Scheduler enforces a minimum width of 1 px for small events.

When using scale: "Day" and cellWidth: 40, each pixel represents 36 minutes. In order to prevent overlaps of your events, you’ll need to increase the cellWidth value or use a different scale.

Comment posted by Dan Letecky [DayPilot]
7 days ago.

Your screenshot, moved from another thread:

Comment posted by kekec14
7 days ago.

Thank you for the answer! cellWidth: fix the issue.

New Reply
This reply is
Attachments:
or drop files here
Your name (optional):