In my application, several users work with the scheduler. Each people can create events and define who is concerned by.
In my database, I’ve three tables for doing this : user, event_user & event.
An user can only see his events. I want this for the day, week and month view, it’s not a problem.
But I’ve created a timeline view and of course, I only have the user event.
I’ve my list with users, I just don’t know how load or filtered this.
Thanks ! Sorry, I didn’t think that it was so simple.
However, an event can concerned differents users. I extract my data with a SQL request, So I have it : event.idutil = ‘1,12,13’. I do this treatment: (idutil is same thing as userId for you).
It works but when I click to add an event, the scheduler is clear, and I have to click again to see the lightbox. I made some test and the problem come from indexOf() fonction, so I try the search() fonction but nothing change…