[REACT] How to add the background for multiple events
i want to have a background for each resource under event. (background is not full row, its depend on database- have startDate and endDate), Does anyone recommend the solution for this problem?
i want to have a background for each resource under event. (background is not full row, its depend on database- have startDate and endDate), Does anyone recommend the solution for this problem?
Could you please provide an image showing us how do you want to display the background color of it? (by annotating the image)
Thank you.
Many thanks for the prompt reply!
I'm sorry, that I didn't explain it clearly.
I would like to draw a rectangle as the background of the events (the background isn't draggable, isn't clickable. And the events are draggable. I already do that). Currently, I treat the background as an event, I got an issue with the event that didn't show in the background. The green rectangle is the background and the duration is flexible by start time and end time. And I don't want the events are overlaps.
Sounds like you need https://www.bryntum.com/examples/scheduler/resourcetimeranges/
Docs here: https://bryntum.com/docs/scheduler/api/Scheduler/feature/ResourceTimeRanges
Is this what you need?