Drag n drop between dhtmlTree to dhtmlTreeGrid

Hi,

         I want to disable the drop function while dragging from dhtmlTree to dhtmlTreeGrid. Please help me.

Thanks & Regards,
    P.Subathra

You can use onDrag event of treegrid in next way

grid.attachEvent(“onDrag”,function(sid,tid,sgrid,tgrid){
if (sgrid == tree) return false;
return true;
})

where “tree” -reference to the tree object