Skip to content

HeaderRender

Header Render Class is responsible for rendering the header part of the Gantt instance.

Constructor

constructor

Parameters: (gantt: Gantt, renderer: Render)

Constructor, receives Gantt instance and Render instance.

Instance Properties

gantt

Gantt instance

renderer

Render instance

currentTimeG

Current time G instance

timeRange

Time range G instance

g

Header G instance

Methods

render

Renders the entire Header.

clear

Clears the Header part.

destroy

Destroys the Header part.

showCurrentTime

Shows the current time.

hideCurrentTime

Hides the current time.