Rico Tree Example #3

This example demonstrates a basic, pop-up tree control. Nodes are displayed with folder icons. Only one item is selected from the tree at a time. Data is from the Northwind customer table.

(selected customer id)

Rico.onLoad( function() {
  var options={
    showPlusMinus: false,
    showFolders  : true,
    showLines    : false,
    leafIcon     : Rico.imgDir+'right.gif'
  }
  tree1=new Rico.TreeControl("tree1", "CustTree.php", options);
  tree1.atLoad();
  tree1.returnValue=function(newVal) { $('TreeValue1').value=newVal; };
});