treegrid falls in recursion infinite loop when drag'n'drop

I followed the instructions from the manual, initialized grid as usual grid. Crafted a json data structure to fit 2 level hierarchy. Everything goes well, grid is populated, I can even drag it but when I release mouse button to drop it somewhere I get an error saying too much recursion under ff and Uncaught RangeError: Maximum call stack size exceeded under chrome.

Rows ids are unique, checked it. I even tried example from docs.dhtmlx.com/doku.php?id=dhtm … ialization (JSON).

what can i be doing wrong, or am i missing a path?

Unfortunately issue can’t be reconstructed locally.

If issue still occurs for you - please provide any kind of sample to reconstruct.

I guess its our grid/treegrid version. My code is as follows:

..
<script src="/dhtmlx/dhtmlx.js"></script> // compressed dhtmlxgrid, commons, gridcell and others
<script src="/dhtmlx/dhtmlxtreegrid.js"></script>
<script src="/dhtmlx/ext/dhtmlxgrid_drag.js"></script>

</head>

<body>

<div id="gridbox" style="height: 100px;"></div>

<script type="text/javascript">
var rows = {
  rows: [{
    id: '1001',
    data: ["row A", "A Time to Kill", "John Grisham", "12.99" ],
    rows: [{
      id: 'sub_1001',
      data: ["subrowA", "Blood and Smoke", "Stephen King", "0"]
    }, {
      id: 'sub_1002',
      data: ["subrowB", "Blood and Smoke", "Stephen King", "0"]
    }]
  }, {
    id: '1002',
    xmlkids: '1',
    data: ["row B", "The Green Mile", "Stephen King", "11.10"]
  }]
};
var mygrid = new dhtmlXGridObject('gridbox');
mygrid.selMultiRows = true;
mygrid.setImagePath("/dhtmlx/imgs/");
mygrid.setHeader("RatePlan,Channel,Room,Type");
mygrid.setInitWidths("150,100,100,100");
mygrid.setColAlign("left,left,left,left");
mygrid.setColTypes("tree,ro,ro,ro");
mygrid.setColSorting("str,str,str,str");
mygrid.enableDragAndDrop(true);
mygrid.enableSmartXMLParsing(false);
mygrid.init();
mygrid.setSkin("dhx_skyblue");
mygrid.parse(rows, 'json');
</script>
..

When I try to drag and then drop an item somewhere on the same grid I get an error Uncaught RangeError: Maximum call stack size exceeded (inifinite recursion under ff).

I think its a matter of versions, how can I get upgraded?

Regards