View Class
Operate the view of the Gantt
Constructor
constructor
ts
// Constructor, passing the Gantt instance
constructor(gantt: Gantt): ViewInstance Properties
gantt
Gantt instance
Instance Methods
scrollToID
ts
// Scrolls to the position of the element with the specified ID.
scrollToID(id: string, options?: ScrollToOptions): voidscrollToItem
ts
// Scrolls to the position of the element with the specified item ID.
scrollToItem(itemId: string, options?: ScrollToOptions): voidscrollToEvent
ts
// Scrolls to the position of the element with the specified event ID.
scrollToEvent(eventId: string, options?: ScrollToOptions): voidscrollToEarliestItem
ts
// Scrolls to the position of the earliest item.
scrollToEarliestItem(options?: ScrollToOptions): void