Returns a resource from a schedule resource collection by a specified id.
Namespace: MindFusion.Scheduling
Assembly: Calendar.js
JavaScript
![]() |
---|
function getResourceById (id) |
Type: String
The id of the resource.
Type: Object
The resource object if found, null otherwise.
The schedule resource collection (contacts, locations, tasks, resources) is determined automatically by the resource's id.