Change text on drag and drop

I’m using dhtmlxSuite_v403_pro.
Can we change the text/image when dragging an element from the tree??

Instead of ‘Element1’ some other text.

Thanks :slight_smile: .

I.e. if you have 2 trees to drag in between, you can set the next onDrag rule:

tree2.attachEvent("onDrop", function(sId, tId, id, sObject, tObject){ this.setItemText(id, this.getItemText(id)+1); //or any text you need });
tree - the source tree
tree2 - the target tree
What target object do you have?