Accordion and attachURL

Hi Folks,

I am having an issue with IE11 and am looking for some advise/help. This is the situation: I have a two cell accordion, when the second cell is opened I fetch an external html file using the attachURL method. To know when that content has finished loading and in order to access it’s content using document.getElementById, I first setup an “onContentLoaded” event handler on the accordion. This works on every other browser I’ve tried except for IE11. Now looking carefully at the documentation the onContentLoaded event is not mentioned in respect to accordion events, so I am left wondering if is truly supported or not. Here is a sample of the code:

[code]var dhxAccord = new dhtmlXAccordion(“accordObj”);
dhxAccord.addItem(“a1”, “Main Page”);
dhxAccord.addItem(“a2”, “Site Navigation”);
dhxAccord.cells(“a2”).close();
dhxAccord.cells(“a2”).attachURL(“cell1.html”);
dhxAccord.cells(“a1”).open();

var grid = dhxAccord.cells(“a1”).attachGrid();
grid.init();
grid.loadXML(“http://inhouse:2792/en-us/dev/ufsm/grid.xml”);

dhxAccord.attachEvent(“onContentLoaded”, function() {
alert(“content loaded”);
var iframe = dhxAccord.cells(“a2”).getFrame().contentWindow;
});
[/code]

So right now I’m not sure if there is problem with my code, a bug in IE11 or what. Any help or suggestions would be much appreciated.

Thanks,

Daryl

Hi
Have you build with IE11 fixes?

Hi Darya, Thanks for your reply. Yes we have applied the hotfix in: dhtmlx_hf_ie11_131023.zip.
Please let me know if there is any other information I can provide.

Thanks,

Daryl

Your code with simple grid and this file version works fine locally in IE11 - see screenshots





You can provide completed demo on support@dhtmlx.com with a link to this topic - we will inspect it

Hi Darya,

I have just sent an email to suppost@dhtmlx.com (should that be support@… ?) with an attachment containing code to demonstrate the problem described above. There are a few ajax calls that can probably be stubbed out and there are comments to describe the data returned, but if you have any questions please let me know. And please let me know if I got the email address wrong so I may send it again, if necessary.

Thanks for your help.

Daryl

Oh, sorry
support@dhtmlx.com

Hi Darya,

I have setup the complete demo as requested, at the following site:

synergetic-data.com/complete_demo/index.html

The page that will load contains a “2U” dhtmlXLayoutObject. The left hand cell contains a two cell accordion. Once the page has loaded the first acordion cell is filled with a grid, if you click on any of the rows in the grid the first accordion cell will close and the second accordion cell will open up displaying a web form. Attached to the accordion is an onContentLoaded event that will popup an alert saying the accordion’s content has loaded. The alert works in every browser, including IE10, but not in IE11.

If you have any questions or need further information, please let me know.

Thanks,

Daryl

Hi

seems like your dhtmlx pack partialy updated.
please cotact our sales department for latest version.

Hi Andrei,

I just verified with a sum command that we are running hot fix build 131108. Is there a newer version? Thanks for your help.

Regards,

Daryl

not sure regarding crc but code tells me it not updated.
please contact our sales dep or open ticked in support

Hi,

We have an old license of dhtmlxgrid. Can we use the hotfix dhtmlx_hf_ie11_131023?


Thanks

Hello,

Please contact us at support@dhtmlx.com and provide your license details and the version you use.

We have an old license. Can we use the hotfix dhtmlx_hf_ie11_131023.zip?

what dhtmlxGrid version do you have?

Most probably you may apply the hot fix and will work correctly. In case of you have too old version of dhtmlxGrid (older than 2.6), that most likely it won’t work.