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

How can I fix the position of the event when event overlaps?

Asked by Anonymous
3 years ago.

Hi, I am using DayPilot Scheduler with Angular 7 now.

When A and B events overlap, can I force B events to be displayed in the upper row?
Specifically, I'd like to fix the floor I'm in charge at the top, and display the sudden work at the bottom.

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

You can apply custom sorting rules to overlapping events. Please see the example in the documentation:

Let me know if this is not what you are looking for.

Comment posted by Anonymous
3 years ago.

Thank you for your quick response.
The implementation was done without problems in the way I was taught.
By the way, can I display the event with the second row fixed even if the events do not overlap?
I want each row to be configured in two stages, and to display the decided events in the upper and lower rows.

Comment posted by Dan Letecky [DayPilot]
3 years ago.

In that case it might be better to display the data in two rows. That will ensure that the position is fixed. It's not possible to display an event at the bottom of a row if there is no event above it.

Another option to display previous stages might be the event versions. But that may not be exactly what you are looking for (the previous event versions can't be moved using drag and drop):

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