Returns a resource from a schedule resources collection by a specified id.
Namespace: MindFusion.Scheduling
File: Schedule.js
JavaScript Copy Code |
---|
function getResourceById (id) |
String. The id of the resource.
Resource. The resource object if found, null otherwise.
The schedule resource collection (contacts, locations, tasks, resources) is determined automatically by the resource's id.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |