Custom Drag Out with MultipleSelect tree (with multiple item

I wonder whether its possible to use the custom drag out as described here: … g_out.html

with multiple nodes from a tree (MultipleSelect enabled)

When I try that, I always get the first item only?!

Thanks in advance


The solution proposed at pro_drag_out.html works with single item only, it need to be modified to work with multiple items.

function s_control(){   
        var tree=sourceHtmlObject.parentObject.treeNod;
        var d = tree._dragged;
        for (var i=0; i<d.length; i++)