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