Links in tree
Xml for the tree:
-
http://www.google.com
-
http://groups.google.com
there is an event handler for click processing:
tree.setOnClickHandler(doOnClick);
function doOnClick(nodeId){
var myUrl = tree.getUserData(nodeId,“myurl“);
window.open(myUrl);// or frames[“someframe“].location.href = myUrl
}
Drag-n-drop outside tree