title: Is there a way to toggle events visibility based on className FullCalendar
body: <p>I was wondering if there was a way using Full Calendar to show/hide elements based on the className of that event.</p>
  
  <p>The exact situation is I have a checkbox (let's say #daytimeEvent) and I'd like to toggle the visibility of event htat has class daytime in the array....</p>
  
  <p>I tried this so far but it seems to completely remove the events from the calendar without the possibility to get them back after....</p>
  
  <p>Here is my current code:</p>
  
  <pre><code>$('#daytimeEvent').on('change', function(){
    if ($(this).is(':checked'))
      {
        // That part doesn't work
        calendar.fullCalendar('renderEvent');  
      }
     else
     {
        // This seems to destroy the event without having the opportunity to toggle the visibility back after
        calendar.fullCalendar('removeEvents', function(event){
           return $.inArray('daytime', event.className)
        });
     }
  }
  </code></pre>
  
  <p>I've crawled google and it seems like I'm not the only person with this problem but I couldn't find any solution.</p>