Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editor property of GanttEditorComponent doesn't have 'options' field #21

Open
keweixinfr opened this issue Mar 1, 2020 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@keweixinfr
Copy link

keweixinfr commented Mar 1, 2020

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
undefined

@mariohmol
Copy link
Collaborator

Any suggestions on how to fix this?

Could u provide an example so we can investigate?

@mariohmol mariohmol added enhancement New feature or request question Further information is requested labels May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants