The same demo is also available on JSFiddle. The nodeClick function is called by dTree when the node or text is clicked by the user. It shouldn't return any value. The nodeRightClick function is ...