Skip to main content

getResourceCalendar

info

This functionality is available in the PRO edition only.

Description

Returns a calendar which the resource is assigned to

getResourceCalendar: (resource: string | number | object) => any

Parameters

  • resource - (required) string | number | object - the id or object of the resource

Returns

  • param - (object) - the calendar object

Example

var calendar = gantt.getResourceCalendar(mikeCalendarId);

Details

Change log

  • added in v7.0
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.