You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside ngOnInit function, we attribute this.editor.options to optionsBefore but the value this.editor.options is actually undefined if we use console to check the value.
This causes some problems when we try updating our data since the option before is undefined and the jsgantt will, therefore, use some default options.
Here is a screenshot when I access the editor.options from the parent component. As we can see, all these options are already parts of the editor not inside editor.options
The text was updated successfully, but these errors were encountered:
Inside
ngOnInit
function, we attributethis.editor.options
tooptionsBefore
but the valuethis.editor.options
is actuallyundefined
if we use console to check the value.This causes some problems when we try updating our data since the option before is undefined and the jsgantt will, therefore, use some default options.
Here is a screenshot when I access the
editor.options
from the parent component. As we can see, all these options are already parts of theeditor
not insideeditor.options
The text was updated successfully, but these errors were encountered: