DHTMLXTree, dataprocessor and UserData

WhenI add a node to a tree using the insertNewChild function it triggers a call to my dataprocessor trigger function. How do I pass Userdata back from the server side dataprocessor call back to the client?


Hello,


you can use the approach described in the article dhtmlx.com/docs/products/dhtmlxG … html#io2c0 (it is actual for tree also):



Details



dp.defineAction(“insert”,my_action)
function my_action(node){
alert(node.firstChild.data); // Details
return true;
}