Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting multiple instances of one event with different dates and times. #2326

Closed
arshaw opened this issue Aug 19, 2015 · 2 comments
Closed
Assignees

Comments

@arshaw
Copy link
Member

arshaw commented Aug 19, 2015

Originally reported on Google Code with ID 2061

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).

Reported by jmoralesmedia on 2014-01-06 14:38:14

@arshaw
Copy link
Member Author

arshaw commented Aug 19, 2015

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.

Reported by adamrshaw on 2014-06-07 21:23:51

  • Status changed: Done

@arshaw
Copy link
Member Author

arshaw commented Aug 19, 2015

Reported by adamrshaw on 2014-06-07 21:46:46

@arshaw arshaw self-assigned this Aug 19, 2015
@arshaw arshaw closed this as completed Aug 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant