1.  
  2. var resultSet = this.getData().ResultSet;
  3. ...
  4. var len = resultSet.Result.length;
  5.  
  6. for (var i=0;i<len;i++) {
  7. var url = resultSet.Result[i].Url;
  8. // add a row with Title, Summary and url
  9. var dataObj = new Array();
  10. dataObj[0] = resultSet.Result[i].Title;
  11. dataObj[1] = resultSet.Result[i].Summary;
  12. dataObj[2] = url;
  13. item = new BiTree2Row(dataObj);
  14. resultsList.addRow(item); // resultsList is a BiTree2
  15. }
  16. resultsList.update();
  17.  
  18.