TypeError: dhtmlx.extend is not a function
I was working with dhtmlxDataView and created an individual application for testing my requirements. So, everything was working fine and was happy that my most of the work was done. Now it was time to integrate it with the project. When I included it, it started giving me TypeError: dhtmlx.extend is not a function error and I had no idea what went wrong so now it was time to google it and start my quest for getting a solution.
The most obvious way was to try it on the dhtmlx support forum but for some reason I do not get solutions for such answers. After searching for a while I got a hint and tried the solution and it worked.
So here is the simple solution : The problem was happening because where I included my application already had other components of dhtmlx and in such case the order of the libraries included does matter a lot. So after trying few combinations with the order it started working. So that's it that's the solution the order of the js files included matters so try changing them.
Let me know if this helped you if not do let me know I'll try if we can get it to working.
I was working with dhtmlxDataView and created an individual application for testing my requirements. So, everything was working fine and was happy that my most of the work was done. Now it was time to integrate it with the project. When I included it, it started giving me TypeError: dhtmlx.extend is not a function error and I had no idea what went wrong so now it was time to google it and start my quest for getting a solution.
The most obvious way was to try it on the dhtmlx support forum but for some reason I do not get solutions for such answers. After searching for a while I got a hint and tried the solution and it worked.
So here is the simple solution : The problem was happening because where I included my application already had other components of dhtmlx and in such case the order of the libraries included does matter a lot. So after trying few combinations with the order it started working. So that's it that's the solution the order of the js files included matters so try changing them.
Let me know if this helped you if not do let me know I'll try if we can get it to working.
Nice. Thanks for the tips
ReplyDeleteThanks mate
ReplyDeleteThanks
ReplyDelete