Skip to main content

Posts

Showing posts with the label dhtmlx

Resolved : TypeError: dhtmlx.extend is not a function

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 solu

ReferenceError: dhtmlXGrid is not defined : Resolved

For the errors like : ReferenceError: dhtmlXDataView is not defined ReferenceError: dhtmlXGrid is not defined ReferenceError: dhtmlXTree is not defined ReferenceError: dhtmlXTreeGrid is not defined etc I have been working on dhtmlx for long time now and this is one of the most basic exception faced by the developer and which in fact is very easy to resolve. Reasons: 1. You are actually referring to a wrong location of the JS file.    - This is a very common mistake done and most of the time we are so damn sure that we don't even care about checking the path once. Even though you have copied it from your existing project where it is working, if you face this issue don't forget to check the path once, it won't harm you. 2. Check for relative path.    - So now you have copied it and paste it in your new file where you are going to use the dhtmlx component and when you open your file you get this error and it becomes frustrating knowing that same thing is wo