rem: var rowHeight = this.getTable().getRowHeight(); 
add: var rowHeight = table.getRowHeight(); 
context: qx.Proto._updateContent_orig = function(completeUpdate, onlyRow,  onlySelectionOrFocusChanged){  var TablePane = qx.ui.table.TablePane;  var selectionModel = this.getTable().getSelectionModel();  var tableModel = this.getTable().getTableModel();  var columnModel = this.getTable().getTableColumnModel();  var paneModel = this.getPaneScroller().getTablePaneModel();  var colCount = paneModel.getColumnCount();  var rowHeight = this.getTable().getRowHeight();  var firstRow = this.getFirstVisibleRow();  var rowCount = this.getVisibleRowCount();  var modelRowCount = tableModel.getRowCount();  if (firstRow + rowCount > modelRowCount) {    rowCount = Math.max(0, modelRowCount - firstRow);  }  // Remove the rows that are not needed any more  if (completeUpdate || this._lastRowCount > rowCount) {    var firstRowToRemove = completeUpdate ? 0 : rowCount;    this._cleanUpRows(firstRowToRemove);  }  if (TablePane.USE_TABLE) {    throw new Error("Combination of USE_TABLE==true and USE_ARRAY_JOIN==false is not yet implemented");  }  var elem = this.getElement();  var childNodes = elem.childNodes;  var cellInfo = {};  tableModel.prefetchRows(firstRow, firstRow + rowCount - 1);  for (var y = 0; y < rowCount; y++) {    var row = firstRow + y;    if ((onlyRow != null) && (row != onlyRow)) {      continue;    }    cellInfo.row = row;    cellInfo.selected = selectionModel.isSelectedIndex(row);    cellInfo.focusedRow = (this._focusedRow == row);    cellInfo.rowData = tableModel.getRowData(row);    // Update this row    var rowElem;    var recyleRowElem;    if (y < childNodes.length) {      rowElem = childNodes[y];      recyleRowElem = true    } else {      var rowElem = document.createElement(qx.constant.Tags.DIV);      //rowElem.style.position = "relative";      rowElem.style.position = qx.constant.Style.POSITION_ABSOLUTE;      rowElem.style.left = qx.constant.Core.ZEROPIXEL;      rowElem.style.top = (y * rowHeight) + qx.constant.Core.PIXEL;      rowElem.style.height = rowHeight + qx.constant.Core.PIXEL;      rowElem.style.fontFamily = TablePane.CONTENT_ROW_FONT_FAMILY;      rowElem.style.fontSize = TablePane.CONTENT_ROW_FONT_SIZE;      elem.appendChild(rowElem);      recyleRowElem = false;    }    if (cellInfo.focusedRow && this.getHighlightFocusRow()) {      rowElem.style.backgroundColor = cellInfo.selected ? TablePane.CONTENT_BGCOL_FOCUSED_SELECTED : TablePane.CONTENT_BGCOL_FOCUSED;    } else {      rowElem.style.backgroundColor = (cellInfo.selected ? TablePane.CONTENT_BGCOL_SELECTED : ((cellInfo.row % 2 == 0) ? TablePane.CONTENT_BGCOL_EVEN : TablePane.CONTENT_BGCOL_ODD));    }    rowElem.style.color = cellInfo.selected ? TablePane.CONTENT_COL_SELECTED : TablePane.CONTENT_COL;    if (!recyleRowElem || !onlySelectionOrFocusChanged) {      var html = "";      var left = 0;      for (var x = 0; x < colCount; x++) {        var col = paneModel.getColumnAtX(x);        cellInfo.xPos = x;        cellInfo.col = col;        cellInfo.editable = tableModel.isColumnEditable(col);        cellInfo.focusedCol = (this._focusedCol == col);        cellInfo.value = tableModel.getValue(col, row);        var width = columnModel.getColumnWidth(col);        cellInfo.style = TablePane.CONTENT_CELL_STYLE_LEFT + left          + TablePane.CONTENT_CELL_STYLE_WIDTH + width          + TablePane.CONTENT_CELL_STYLE_HEIGHT + rowHeight + qx.constant.Core.PIXEL;        var cellRenderer = columnModel.getDataCellRenderer(col);        if (recyleRowElem) {          var cellElem = rowElem.childNodes[x];          cellRenderer.updateDataCellElement(cellInfo, cellElem);        } else {          html += cellRenderer.createDataCellHtml(cellInfo);        }        left += width;      }      if (! recyleRowElem) {        rowElem.style.width = left + qx.constant.Core.PIXEL;        rowElem.innerHTML = html;      }    }  }  this.setHeight(rowCount * rowHeight);  this._lastColCount = colCount;  this._lastRowCount = rowCount;}
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/11f2edb74e519e83a34fced87f41939d347c4c8d/TablePane.js/clean/qooxdoo/frontend/framework/source/class/qx/ui/table/TablePane.js