跳到主要内容

getResourceCalendar

信息

此功能仅在 PRO 版本中可用。

Description

返回分配给资源的日历

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

Parameters

  • resource - (required) string | number | object - 资源的 ID 或对象

Returns

  • param - (object) - 日历对象

Example

var calendar = gantt.getResourceCalendar(mikeCalendarId);

Change log

  • 在 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.