getCalendar
Description
Holt den Arbeitszeitkalender anhand der ID
getCalendar: (calendarId?: string | number) => Calendar
Parameters
calendarId- (string | number) - optional, die ID des globalen Kalenders oder "global"
Returns
config- (Calendar) - Kalender-Objekt
Example
var calendar = gantt.getCalendar(calendarId);
Details
Das zurückgegebene Objekt für das obige Beispiel ist ein Kalender-Objekt.
Die Standard-Arbeitszeit ist wie folgt:
- Arbeitstage sind von Montag bis Freitag.
- Arbeitszeiten sind von 08:00 bis 17:00.
Related API
Related Guides
Change log
- Hinzugefügt in Version 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.