Base Library:
This example demonstrates a basic, pop-up tree control where the tree nodes are loaded via AJAX. Only one item is selected from the tree at a time. Data is from the Northwind customer table. |
(selected customer id)
Rico.onLoad( function() { tree1=new Rico.TreeControl("tree1", "CustTree.php"); tree1.atLoad(); tree1.returnValue=function(newVal) { Rico.$('TreeValue1').value=newVal; }; });