rem: tableModel.setData([ ]); 
add: dataModel.setData([ ]); 
context: qx.Proto._displayTreeSelectionChangedResults = function(module, rpcRequest){  var fsm = module.fsm;  // Obtain the result object  var result = rpcRequest.getUserData("result").data;  // If we received an empty list, ...  if (result == null)  {    // ... then just clear the attribute/value table.    tableModel.setData([ ]);    return;  }  // Start with an empty table dataset  var rowData = [ ];  // The result contains a single object: attributes  var attributes = result[0];  // Track the maximum length of the attribute values  var maxLen = 0;  // For each attribute we received...  for (var attr in attributes)  {    // If it's multi-valued (type is an array)...    if (typeof(attributes[attr]) == "object")    {      // ... then add each value with same name      var a = attributes[attr];      for (var i = 0; i < a.length; i++)      {        if (a[i].length > maxLen)        {          maxLen = a[i].length;        }        rowData.push([ attr, a[i] ]);      }    }    else    // single-valued    {      // ... add its name and value to the table dataset      if (attributes[attr].length > maxLen)      {        maxLen = attributes[attr].length;      }      rowData.push([ attr, attributes[attr] ]);    }  }  // Obtain the table and tableModel objects  var table = fsm.getObject("table:browse");  var tableModel = fsm.getObject("tableModel:browse");  // Adjust the width of the value column based on maxLen  table.setColumnWidth(1, maxLen * 7);  // Add the dataset to the table  tableModel.setData(rowData);};
meta: 502	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/502/d3eef7270d033fa0e37c07291065389bc746881f/Gui.js/clean/webapps/swat/source/class/swat/module/ldbbrowse/Gui.js