''

def cell_changed(self, row, col):

    item = self.item(row, col)
    value = None
    if item:
        rows = self.rowCount()
        cols = self.columnCount()
        value = item.text()
    if value:
        if (row == (rows - 1)):
            self.setRowCount((rows + 1))
        if (col == (cols - 1)):
            self.setColumnCount((cols + 1))
    self.reset_headers()
