IE8 'dhtmlx' is undefined

dhtmlx.extend_api(“dhtmlXGridObject”,{_init:function(obj){return [obj.parent];},
‘dhtmlx’ is undefined
dhtmlxgrid.js line 896 character 60

IE 8.0.6001.18975

I’m experiencing periodic failure when using IE8. If I reload the same page which shows a grid, slowly, over and over again, I can cause the above line to fail. It seems that the primary library has failed to load when this happens. The grid shows perfect more times than not. The grid is defined by dynamic XML, and the data is loaded dynamic json.

FF 3.6.12 seems to work just fine.

What is the solution?

THANKS!!!

Unfortunately issue can’t be reconstructed locally.

If issue still occurs for you - please provide any kind of sample or demo link where it can be reconstructed.

I faced a similar issue. The solution was to call all dhtmlx functions inside a function called via body of the page

<head>
<script>
function setup()
{
//....any dhtmlx initialization and stuff like that goes here
};

// setup();  //dont call like this. It gives errors in dhtmlx.js files
</script>
<Body onload="setup()">

I am still not able to solve the same issue after trying the above solutions… can anyone suggest ??

Please, provide a sample of your code to reconstruct the issue.