dhtmlxgrid + node tree drag n drop + childs autoloading

I have 2 treegrid whose child nodes are loaded dynamically. When I drag a node (whose childs are not loaded but can be expanded) from a grid to another, my node is well transfered but lost the “+” sign which enables me to expand its childs. After looking at the source code, it seems that the _xml_await field is not well copied or is reset and I dont know how and when setting it up.

Next, I would like to make that drap n drop between a treegrid and a tree component. So I used the gridToTreeElement function, but I dont know how to set xml attribute like childs=1. The example only show how to copy label and userdata block but it’s not enough.


PS: I am using dhtmlxgrid pro 1.4 build 70712