Premium support for our pure JavaScript UI components


Post by clovisapp »

It would be useful in scheduler planning to show that some tasks overflow each other.
Goal: For a big list of people, easily see while scrolling that there are some "time conflicts" between tasks / events assigned to people.
Seeing that a user row is higher is a first indication, but having other UI "landmarks" would be very useful.

Cf the screenshot bellow, i put a glow on the events that lap each other.

The question
Does Bryntum api provides a specific function to detect this situation, to set a custom CSS styles on the concerned scheduler events ?

Thanks a lot

Attachments
Screenshot 2022-06-22 at 10.13.24.png
Screenshot 2022-06-22 at 10.13.24.png (151.72 KiB) Viewed 168 times

Post by tasnim »

We don’t have special methods for that.
The user can easily handle it. You could use https://bryntum.com/docs/scheduler/api/Scheduler/view/SchedulerBase#function-isDateRangeAvailable
Check if any other events use the same date range and decide how to style your events.

You might also not allow overlap at all using this property https://bryntum.com/docs/scheduler/api/Scheduler/view/SchedulerBase#config-allowOverlap


Post Reply