rem: var rowCount = mapArr.length; var columnCount = this.getColumnCount(); this._rowArr = new Array(rowCount); var columnArr; var j; for (var i = 0; i < rowCount; ++i) { columnArr = new Array(columnCount); for (var j = 0; j < columnCount; ++j) { columnArr[j] = mapArr[i][this.getColumnId(j)]; } this._rowArr[i] = columnArr; }   var data = { firstRow:0, lastRow:rowCount - 1, firstColumn:0, lastColumn:columnCount - 1 }; this.dispatchEvent(new qx.event.type.DataEvent(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED, data), true);  this._clearSorting(); } 
add: this.setData(this._mapArray2RowArr(mapArr)); }; 
context: qx.Proto.setDataAsMapArray = function(mapArr) {  var rowCount = mapArr.length;  var columnCount = this.getColumnCount();  this._rowArr = new Array(rowCount);  var columnArr;  var j;  for (var i = 0; i < rowCount; ++i) {    columnArr = new Array(columnCount);    for (var j = 0; j < columnCount; ++j) {      columnArr[j] = mapArr[i][this.getColumnId(j)];    }    this._rowArr[i] = columnArr;  }  // Inform the listeners  var data = { firstRow:0, lastRow:rowCount - 1, firstColumn:0, lastColumn:columnCount - 1 };  this.dispatchEvent(new qx.event.type.DataEvent(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED, data), true);  this._clearSorting();}
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/89fef5624bfa841dcff693188dfc8b2b08373508/SimpleTableModel.js/clean/qooxdoo/frontend/framework/source/class/qx/ui/table/SimpleTableModel.js