TypeError: Cannot read property ‘config’ of undefined.
at Object.t._get_skin (lib-dhtmlxgantt.js:205).
at Object.t._init_skin (lib-dhtmlxgantt.js:204).
at Object.t.init (lib-dhtmlxgantt.js:270).
Please tell me if you use any framework. And please send me the archive with your project or give a link to the repository so that I could reproduce your issue and help to solve it.
Hi @guldmi
Thank you for reply! I try to wrap a Gantt chart (Enterprise version v4.0.10) into the Vue.js component.
Unfortunately I am not sure I have permission to share source code (Gantt chart ).
Hello Alex,
I reproduced the issue when the 4.0 version doesn’t work in a project where the 6.0 version works correctly. Unfortunately, I don’t specialize in vue.js, so I cannot tell you if you need to apply the additional code in vue.js to make the 4.0 version work. However, the same project works correctly with the 6.0 and 6.1 versions.
Unfortunately, I cannot reproduce your use case because you sent only 1 file. If you cannot send the project with the source code, please, reproduce the issue in a test project and try adding Gantt there, then send the project to me. I will reproduce the issue locally and check if there is a way to start Gantt.
Hi @ramil
Thank you for reply and your examples. I found that when I embed (copy/paste) the code of css and js files into my index.html file - it worked. The issue was with Vue (Webpack). I updated my gist:
Thanks to all!
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan