jsGanttImproved / jsgantt-improved

Javascript Gantt: fully featured gantt chart component built entirely with JS and CSS. No images or external libs required.
https://jsganttimproved.github.io/jsgantt-improved
Other
483 stars 249 forks source link

g.setOptions is not a function #307

Closed salongajudy27 closed 4 years ago

salongajudy27 commented 4 years ago

I am trying this but I'm getting the error g.setOptions is not a function. Can someone help me solve it? thanks.

starlimit commented 4 years ago

you need to first get an instance of the gantt chart like so: const g = this.editor.getEditor();

mariohmol commented 4 years ago

thanks @O3DigitechSolutions