My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2061: Selecting multiple instances of one event with different dates and times.
1 person starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 1988
Owner:  ----
Closed:  Jun 2014


Sign in to add a comment
 
Reported by jmorales...@gmail.com, Jan 6, 2014
Based on fullcalendar documentation, an event object can have an id to uniquely identify all instances of a particular event.

My question is: If I'm using eventClick to select a particular event, how can I automatically select all instances of that event on the calendar?

In other words, how can I change the properties(in this case background color) of the same event that is happening in different dates just by selecting one of them (this)?

My code looks something like this ('newColor' changes the background-color of the selected event):

eventClick: function(calEvent, jsEvent, view){ 
   $(this).toggleClass('newColor');
}
Right now, my code is only changing the color of the event selected (this).
Jun 7, 2014
Project Member #1 adamrs...@gmail.com
Since there is currently no notion of a user "selecting" an event, this is something you'd have to handle on your own. However implement event-field editing, that's up to you. Out of the scope of fullcalendar right now.
Status: Done
Jun 7, 2014
Project Member #2 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 1988
Sign in to add a comment

Powered by Google Project Hosting