def __init__(self, **kwargs): if not kwargs.has_key('CellFormatter'): kwargs['CellFormatter'] = FlexCellFormatter(self) HTMLTable.__init__(self, **kwargs)
def clearCell(self, row, column): td = self.cellFormatter.getElement(row, column) b = HTMLTable.internalClearCell(self, td) DOM.setInnerHTML(td, " ") return b
def createCell(self): td = HTMLTable.createCell(self) DOM.setInnerHTML(td, " ") return td
def removeRow(self, row): HTMLTable.removeRow(self, row) self.numRows -= 1
def __init__(self, rows=0, columns=0, **kwargs): self.numColumns = 0 self.numRows = 0 HTMLTable.__init__(self, **kwargs) if rows > 0 or columns > 0: self.resize(rows, columns)