Is it possible to count dragging items count in a tree?

Hi,

I would like to get count of dragging items in a tree. Is it possible? how to do that?



Thanks,

Vel


Hello,


you can use getSelectedItemId() to get list of selected items (dragging items):


var list;


tree.attachEvent(“onDrag”,function(){
list = tree.getSelectedItemId();
return true
})





var num = list.split(",").length;