from event render hooks, know which resource
Hopefully there's a way to solve my problem and I'm just not seeing it. I have a Scheduler timeline view, very basic. However, our system lets the users set different start and end times on each resource up to +-6 h of the main events start and end times.
I'd like to display this visually in the calendar, which I already do in my agenda views using eventRender. There I show the maximum different start and end times of all the resources on the event combined. Works fine!
In the Scheduler timeline however I'd like to show the different times for each specific resource separately. I can without any problems get the specific time data for each resource into eventRender. But now to the actual question; how can I know which resource the event is being rendered for in eventRender?
In the event object I can only get a complete list of all the resources on that event, which doesn't help me. Any suggestions?
I've tried looking in the documentation and other issues here without any luck. If I've missed something obvious I'm sorry and would appreciate any help you can give me.
Thanks in advance!
Source: fullcalendar/fullcalendar