treeView - IE - unable to get property "childNodes" of unde

Hello,

I have an issue in IE 11 with my tree view, works fine on firefox and chrome.
The tree doesn’t show and I have this error in the console :

SCRIPT5007: Impossible d’obtenir la propriété « childNodes » d’une référence null ou non définie
dhtmlxtreeview.js (1001,16)
(unable to get property “childNodes” of undefined or null reference)

My tree have an id, It start like this :

<?xml version="1.0" encoding="UTF-8"?> <tree id="0">

My treew view definition is :

    [code]

tree = cellTree.attachTreeView();
tree.setSkin(“material”);
//tree.setIconset(“font_awesome”);
tree.loadStruct(window.location.protocol+‘//’+webroot+‘/view?template=fr/admin/center/center_struct.xml’, function(){
// callback, optional
});

    tree.attachEvent("onSelect", function(id, mode){
        if(mode){
            console.log(id);
            console.log(mode);

            var ttype = tree.getUserData(id,"TYPE");
            var twhat = tree.getUserData(id,"WHAT");
            var tsid  = tree.getUserData(id,"SID");

            console.log(ttype);
            console.log(twhat);
            console.log(tsid);

            rootInCell(ttype,twhat,tsid);
            return true;

        }
    });

[/code]

Thank you for your help :slight_smile:

Unfortunately the problem cannot be reconstructed locally.
Could you please, provide with a complete demo or share with a demo link, where the problem can be reconstructed locally.

Hello,

Thanks for your answer.
I’ve made a ticket support and send my demo this afternoon.

Thank you