public interface StringMethods
  For example - suppose you wanted to override the leafClick() method on
  the TreeGrid.  Normally you would do so as follows:
 
  
  TreeGrid.create({
      ...
      leafClick : function(viewer, leaf, recordNum) { 
          if(leaf.name == 'zoo') { 
              alert(1); 
          } else {
              alert(2);
          }
      }
  });
  
 
  Since leafClick is a stringMethod, however, you can shorten this to:
  TreeGrid.create({
      ...
      leafClick : "if(leaf.name == 'zoo') { alert(1); } else { alert(2); }";
  });