| Issue 485: | Filter based on class | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Hi, A filter event would be a nice addition. I currently filter by class name but I don't know exactly how to redraw the calendar. If the number of events is high for one day and then I filter those events the height of the box stays the same. I could not find a way to reset the height of the box if some events are hidden based on the class name. Thank you
Jul 5, 2010
Project Member
#1
adamrs...@gmail.com
Status:
Done
Sep 29, 2010
i have a similar question. i am working on a absence tracking program. i already use the addEventSource/removeEventSource to track different types of absences such as vacation/dctrs appt/MedLoa. i have toggle buttons that add/remove those eventsources so i can display certain types/ or all types of absences. i would like to keep this functionality but i also need to filter by employee name based on a text box. as they type in the name it will filter the recordset. i am using jquery autocomplete to pull up a list of names as droppable events in an external div. as i type into the autocomplete i was wondering if there was a way to filter the events so that it would only show those people in the external div
Jan 15, 2015
One simple way to do this would be to add an event with a callback that gets triggered before you render an event, you pass the event object to the callback and it returns true of false if it should be rendered. This way the user can write a function to determine if an event should be draw. that function can check say a list of checkboxes and filter based on that or filter based on event content or whatever. If the checkboxes change then the checkbox handler can request the calender be redrawn. I haven't looked at the code but I was thinking it would be nice if something like this existed. |
|
| ► Sign in to add a comment |