fullcalendar
fullcalendar copied to clipboard
Fetch Resources
Hi guys, I am giving a try to this version of fullcalendar because of the resourceView. Seems to work fine. Also the json events fetching is working well. But I wonder how do you fetch dynamically resources? Avoiding empty resources columns?
I too am trying to figure this out. I can't seem to refetchResources. I've tried a hacky approach so far. Can anyone tell me if this is currently possible?
I've been working towards a similar effect to FC's refetchEvents. I'll keep hacking and see what I come up with. Any help would be appreciated.
function refetchResources(){ $('#calendar').fullCalendar('setResources', []); $('#calendar').fullCalendar('setResources', [{ 'id': 'yourid', 'name': 'resource' }]); $('#calendar').fullCalendar('render'); }