% Dim RicoClient set RicoClient = new LoadRicoClient RicoClient.SetRicoClientParentPath "../../ricoClient/" RicoClient.CheckQueryString ' just for demo RicoClient.CreateLinks set RicoClient = Nothing %>
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.asp");
tree1.atLoad();
tree1.returnValue=function(newVal) { Rico.$('TreeValue1').value=newVal; };
});