跳到主要内容

getCalendars

Description

获取当前所有已添加到甘特图中的日历

getCalendars: () => any[]

Returns

  • calendars - (array) - 包含所有日历的数组

Example

var calendars = gantt.getCalendars();

Details

在版本 4.2 中引入

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.