These docs are for an old release.
Info on upgrading to v4
Docs Resource Data
How to get resources onto your calendar and how to manipulate resource data thereafter.
resources (as an array)
Tells the calendar to display resources from an array input.
resources (as a JSON feed)
Tells the calendar to fetch the resource list from a remote script.
resources (as a function)
Tells the calendar to fetch the resources list by executing a function.
Resource Object
This is the data structure that is accepted and emitted for resources.
Associating Events with Resources
How to specify which resources your events are assigned to.
refetchResourcesOnNavigate
Whether to refetch and rerender resources when the user navigates to a different date or changes the view.
Methods
getResources
A method that retrieves all Resource Objects in memory.
getResourceById
A method that retrieves a specific Resource Object in memory.
getResourceEvents
Retrieves a list of Event Objects that are associated with the given resource.
getEventResource
Gets the Resource Object that is associated with the given event.
addResource
Allows programmatic rendering of a new resource on the calendar after the initial set of resources has already been displayed.
removeResource
Programmatically removes a resource with the given resourceId from the current view.
refetchResources
Causes the resource data to be fetched and freshly rerendered.