Hi,
I am implementing a drag and drop feature into an existing project. After enabling the drag and drop on the tree, I get the following message:

I know you can customise the drag message in the Grid by using the rowToDragElement function but I cannot see a similar function for the tree.
Is there a way to set the drag message on the tree view? Can you tell me where this error message may be coming from?
Thanks,
James
Hi,
There is not a public solution that allows to define custom drag messages. Here is the method in dhtmlxtree.js that defines drag node creation:
dhtmlXTreeObject.prototype._createDragNode=function(htmlObject,e){
…
}
You can try to redefine it as you need.
Thanks,
I just noticed that If I drag an element from the tree view over a grid the message changes to the following which would suggest the onDrag functions are evaluating permissions?:

It is a little confusing as the message doesn’t always change back (to the red blocker symbol) when dragged back over the tree.
Is there some documentation I can read to get an understanding of how the permissions work?
James