| Issue 241: | Event Hide/Show methods | |
| 1 person starred this issue and may be notified of changes. | Back to list |
i have events which fall into one of many categories. On top of the
calendar i have a list of all the categories, and on clicking any one,
only those events need to be displayed.
I tried doing this by attaching classes to events. and then using
$(".fc-event").hide();
$(".selectedclass").show();
but, this ofcourse does not redraw the events. if a slot has multiple
events, after selecting a category, i want only those events to occupy the
full slot.
I tried, removeEvent, writing a filter function which removes all events
other than those of the selected category. But then, the client events
array completely loses the other events. so on clicking on another
category, i need to fetch events again.
finally i use a custom url to fetch events only of the selected category.
but this doesnt seem like the right way. because, initially i have
received all the events onto the client, and it is a waste to query the
server just for filtering purposes.
i tried storing the clientEvents array into my own array variable, before
doing a remove, to use that event list before further filtering. but that
got too complicated.
a show/hide method would be great!
Dec 20, 2009
Project Member
#1
adamrs...@gmail.com
Jan 19, 2010
(No comment was entered for this change.)
Status:
Done
|
|
| ► Sign in to add a comment |