Method 'attachEvent' not supported under IE11

Hi,

try to login into my app under IE 11 I got this error:

The object does not support the method ‘attachEvent’.
dhtmlx.js, row 1165, col 63.

I suppose it’s the attachEvent of a toolbar objects.

Under FF and Chrome it works fine.

Thanks in advance,
Samuel

no, from the file the event is that one:

_isIE?window.attachEvent(“onresize”,d._doOnResizeStart)

Regards,
Samuel

Hi
Have you updated 3.6 version with IE11 fixes?

No, I’m using the 3.5 I think (how to be sure about the version used?).

You also suggested me, for another bug on gantt, to wait the v4.
When that release is planned?

Thanks

If you use standard version, you can easily download the latest build with fixes here:
dhtmlx.com/docs/products/dht … ndex.shtml
And about dhtmlx 4.0 - oficial release is planned on the end od May

Hi,

I’ve donwloaded the suite and substituted all involved js, but not I get this error:

TypeError: this.sb is not a function
…tend(this,dhtmlx.EventSystem);dhtmlx.extend(this,dhtmlx.RenderStack);dhtmlx.exte…
dhtmlx.js (riga 1992)

Samuel

this is my js import part of the home.php page:

The problem is the bolded code:

main_layout = new dhtmlXLayoutObject(document.body, '2U');

var cellTools = main_layout.cells('a');
cellTools.setText('Strumenti');
cellTools.setWidth('130');

dwTools = cellTools.attachDataView({
container:“dataviewtools”,
type:{
template:“html->data_template”,height:56,width:130
}
});

Till that part the documenti is built.

This part of code shows us only the files you use, but doesn’t show us possible cause of the issue.
We need to test your demo or direct link.
Please, provide it
docs.dhtmlx.com/doku.php?id=othe … leted_demo

The second part of code locally works fine. We need to inspect the demo.

baango.net/new36/index.php

username: samuel.rabini@gmail.com
pwd: dirkpitt

Please, provide us more details how can we reproduce this issue?

simply logging in you can find the issue.
Go to “Accedi” and use the credential I posted.
Is not happening to you?

thanks,
Samue

Sorry, but after login we can see only empty layout:


That’s the problem. The page load stops due to the error:

TypeError: this.sb is not a function
…tend(this,dhtmlx.EventSystem);dhtmlx.extend(this,dhtmlx.RenderStack);dhtmlx.exte…
dhtmlx.js (riga 1992)

It’s fired when trying to load the data view:

dwTools = cellTools.attachDataView({
container:“dataviewtools”,
type:{
template:“html->data_template”,height:56,width:130
}
});

you can see the error opening firebug for example or any javascript code inspector.
This happen after the upgrade from v3.5 to v3.6

As soon as I added:

everything started to work again.
I supposed has been removed from common js file from v3.6.

Anyway, thanks for the support.

Samuel

Have you compile files yourself? Dataview files and dhtmlxcommon.js files must be included in dhtmlx.js by default.